[infinispan-issues] [JBoss JIRA] (ISPN-8729) Use async operations in Hot Rod server
Radim Vansa (JIRA)
issues at jboss.org
Tue Jan 30 08:29:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-8729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13525915#comment-13525915 ]
Radim Vansa commented on ISPN-8729:
-----------------------------------
It should not block by design, be it used from server or from application. Such behaviour would be a bug in given component: is your question about making sure such situation is detected (in testsuite)?
Actually right now it can block when running out of credits in JGroups: 4.0.4 already provides a [non-blocking variant|http://belaban.blogspot.cz/2017/06/non-blocking-jgroups.html] but this is not used in our configuration yet - I should probably add that to the PR (as a separate commit).
> Use async operations in Hot Rod server
> --------------------------------------
>
> Key: ISPN-8729
> URL: https://issues.jboss.org/browse/ISPN-8729
> Project: Infinispan
> Issue Type: Enhancement
> Components: Server
> Affects Versions: 9.2.0.CR1
> Reporter: Radim Vansa
> Assignee: Radim Vansa
>
> The server should avoid context switches by starting commands directly from event loop instead of handing them off to another executor. This requires ISPN-8336 to make the async chain completely non-blocking.
> Along with the overhaul we should structure cache/counter/multimap operations nicely.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list