[jbosscache-dev] JGroups concurrent stack and parallelizing messages from the same sender

Bela Ban bela at jboss.com
Tue May 13 09:22:07 EDT 2008


Manik Surtani wrote:
>
>> You can use the above mechanism. However, you have to make sure that 
>> any thread
>>
>>   * uses synchronous replication
>>   * the commits are synchronous as well
>>
>> This won't work for asynchronous replication, but I don't think it is 
>> needed here anyway right ?
>
> It is most critical in sync replication, correct, but why should it 
> not work with the async case as well?  I'm guessing misaligned packets?

Commit(A::TX-1) could be received *after* Commit(A::TX-2). Admitted, a 
rare case, but if the COMMIT(A:TX-1) is lost and needs to be 
retransmitted, this could happen

-- 
Bela Ban
Lead JGroups / Clustering Team
JBoss - a division of Red Hat



More information about the jbosscache-dev mailing list