[infinispan-issues] [JBoss JIRA] (ISPN-4491) Cluster Listener Event Batching

William Burns (JIRA) issues at jboss.org
Thu Nov 6 07:39:29 EST 2014


    [ https://issues.jboss.org/browse/ISPN-4491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017795#comment-13017795 ] 

William Burns commented on ISPN-4491:
-------------------------------------

Also another thought is we could send the listener event to all registered listeners at the same time, currently we do each sync at a time.  This could help in the case when you have multiple listeners but they aren't on the same node and UDP is not an option.

> Cluster Listener Event Batching
> -------------------------------
>
>                 Key: ISPN-4491
>                 URL: https://issues.jboss.org/browse/ISPN-4491
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Listeners
>    Affects Versions: 7.0.0.Alpha4
>            Reporter: William Burns
>            Assignee: William Burns
>
> Currently when a local listener which was installed for a cluster listener finds an event to send back to the parent it does this 1 message per listener.  It might be more beneficial if we had batching so that it wouldn't send 1 message per.
> There are 2 cases I can think of which this would benefit.
> # When the underlying transport is UDP.  In this case we can send just 1 message to all the nodes for the event instead of N Unicasts
> # When a node has more than 1 cluster listener installed we could send a single message to notifiy more than 1 listener.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the infinispan-issues mailing list