[infinispan-issues] [JBoss JIRA] (ISPN-6971) Use JChannel directly instead of going through MessageDispatcher
Bela Ban (JIRA)
issues at jboss.org
Mon Aug 29 07:23:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-6971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285242#comment-13285242 ]
Bela Ban commented on ISPN-6971:
--------------------------------
Another feature of 4.0 is to receive message batches in addition to single message, by implementing {{receive(MessageBatch batch)}} in addition to {{receive(Message msg)}}. Because a message batch is always from the same sender, you could possibly
* iterate through the batch and remove messages
* prioritize messages
* process multiple messages in one go; this reduces lock acquisition, context switching etc
> Use JChannel directly instead of going through MessageDispatcher
> ----------------------------------------------------------------
>
> Key: ISPN-6971
> URL: https://issues.jboss.org/browse/ISPN-6971
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Minor
> Fix For: 9.0.0.Beta1
>
>
> JGroups changed its serialization in 4.0, and even when using MessageDispatcher we still have to provide a JGroups-style marshaller for deserializing RPC responses. If we used JChannel directly, we could avoid this, and we'd have more control over how we process responses.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list