[infinispan-issues] [JBoss JIRA] (ISPN-4547) Replication queue should replicate the first command immediately

Dan Berindei (JIRA) issues at jboss.org
Tue Jul 29 01:59:30 EDT 2014


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

Dan Berindei commented on ISPN-4547:
------------------------------------

We might want a maximum queue size of 500, but at the same time having at most 10 commands in a single {{MultipleRpcCommand}}. Right now, we don't have a separate maximum batch size setting, but it might be useful.

I'm less and less convinced that we need the replication queue, though, as the only advantage of batching commands in a MultipleRpcCommand is that we only send the cache name over the wire once. JGroups already does batching (in the TP bundler) and rate limiting (in MFC).

> Replication queue should replicate the first command immediately
> ----------------------------------------------------------------
>
>                 Key: ISPN-4547
>                 URL: https://issues.jboss.org/browse/ISPN-4547
>             Project: Infinispan
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: Core
>    Affects Versions: 7.0.0.Alpha5
>            Reporter: Dan Berindei
>            Assignee: William Burns
>            Priority: Minor
>             Fix For: 7.0.0.Final
>
>
> The replication queue only replicates commands when the replication queue is full or the replication thread wakes up periodically. 
> If a new command is added to an empty replication queue, the replication thread should wake up immediately and broadcast it, otherwise it will add a significant latency to the replication under light load.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list