[infinispan-issues] [JBoss JIRA] (ISPN-8729) Use async operations in Hot Rod server
Gustavo Fernandes (JIRA)
issues at jboss.org
Tue Jan 30 08:43:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-8729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13525934#comment-13525934 ]
Gustavo Fernandes commented on ISPN-8729:
-----------------------------------------
Sorry, by "command" I meant to write "operation", a specific Hot Rod request that can potentially block, for example, a script/task execution, or a listener registration with includeState=true or a listener configured with sync=true. Also, when indexing is enabled, unfortunately it can block on simple write commands since the machinery behind indexing is provided by Hibernate Search which in turn relies on Lucene, both which can block. Granted, indexing can be configured as async, but by default is it not.
> 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