[infinispan-dev] [Cloudtm-discussion] [SPAM] Re: Primary-Backup replication scheme in Infinispan

Sebastiano Peluso peluso at gsd.inesc-id.pt
Mon Mar 14 10:38:35 EDT 2011


Hi Manik,

we have executed the same experiments described in the first mail, 
introducing test cases for 2-Phase Commit with deadlock detection 
(spinDuration="500").
Indeed, with the deadlock detection on, at high contention, there is a 
significant speed-up....but the Primary-Backup still delivers the best 
performance especially at high contention (1000 keys) independently of 
the number of nodes (at least up to 10), and at medium contention (10000 
keys) up to 6 nodes. The results are in the graphs in attach (1000 keys, 
10000 keys, 100000 keys).

Cheers
    Sebastiano

On 3/11/11 12:28 PM, Manik Surtani wrote:
> On 10 Mar 2011, at 18:41, Paolo Romano wrote:
>
>> On 3/10/11 11:44 AM, Manik Surtani wrote:
>>> On 9 Mar 2011, at 18:58, Paolo Romano wrote:
>>>
>>> <snip>
>>>> of course the primary (or master) can become a bottleneck if the number of update transactions is very large. If the % of write transactions is very high, however, then we have to distinguish two cases: low vs high contention.
>>>>
>>>> At high contention, in fact, the 2PC-based replication scheme used by Infinispan (2PC from now for the sake of brevity ;-) ) falls prey of deadlocks and starts trashing. This is the reasons why 2PC's performance is so poor in the plot attached to Diego and Sebastiano's mail for the case of 1000 keys. Using the primary-backup, being concurrency regulated locally at the primary, and much more efficiently, the actual performace is overall much better.
>>> This is even with deadlock detection enabled?
>> We have not experimented to enable deadlock detection yet. We'll do it
>> and let you know!
> Ok, it gets pretty heavily used in the community so there must be some good in it.  :-)
>
> --
> Manik Surtani
> manik at jboss.org
> twitter.com/maniksurtani
>
> Lead, Infinispan
> http://www.infinispan.org
>
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Cloudtm-discussion mailing list
> Cloudtm-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cloudtm-discussion


-- 
Sebastiano Peluso
GSD  INESC-ID

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TwoPhaseCommitVsPassiveReplication_1000keys.png
Type: image/png
Size: 36580 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/infinispan-dev/attachments/20110314/6018f63b/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TwoPhaseCommitVsPassiveReplication_10000keys.png
Type: image/png
Size: 40049 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/infinispan-dev/attachments/20110314/6018f63b/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TwoPhaseCommitVsPassiveReplication_100000keys.png
Type: image/png
Size: 43935 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/infinispan-dev/attachments/20110314/6018f63b/attachment-0005.png 


More information about the infinispan-dev mailing list