[jboss-jira] [JBoss JIRA] (JGRP-2003) Deliver message batches

Bela Ban (JIRA) issues at jboss.org
Tue Feb 21 02:47:00 EST 2017


     [ https://issues.jboss.org/browse/JGRP-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban updated JGRP-2003:
---------------------------
    Description: 
Currently, message batches are sent up tp the channel, which delivers its messages one-by-one, e.g. by calling the {{Receiver.receive(Message msg)}} callback.

Another callback {{Receiver.receive(MessageBatch batch)}} should be added (also to RpcDispatcher), to deliver a batch of messages at once. The default implementation is to pass messages up one-by-one.

This should result in performance increase, as the application can handle multiple messages at once.

  was:
Currently, message batches are sent up tp the channel, which delivers its messages one-by-one, e.g. by calling the {{Receiver.receive(Message msg)}} callback.
Another callback {{Receiver.receive(MessageBatch batch)}} should be added (also to RpcDispatcher), to deliver a batch of messages at once.
This should result in performance increase, as the application can handle multiple messages at once.



> Deliver message batches
> -----------------------
>
>                 Key: JGRP-2003
>                 URL: https://issues.jboss.org/browse/JGRP-2003
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 4.0
>
>
> Currently, message batches are sent up tp the channel, which delivers its messages one-by-one, e.g. by calling the {{Receiver.receive(Message msg)}} callback.
> Another callback {{Receiver.receive(MessageBatch batch)}} should be added (also to RpcDispatcher), to deliver a batch of messages at once. The default implementation is to pass messages up one-by-one.
> This should result in performance increase, as the application can handle multiple messages at once.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list