[infinispan-dev] Using Dummy VS JBossTM for running tests

Sanne Grinovero sanne.grinovero at gmail.com
Tue Feb 22 11:37:00 EST 2011


2011/2/22 Mircea Markus <mircea.markus at jboss.com>:
> Hi,
>
> I've just run core's test suite with JBossTM and DummyTM.
> The duration on my local machine are:
> With dummy TM:  5:46.800s
> With JBossTM:      5:23.671s
>
> A explanation for JBossTM over performing  DummyTM in spite keeping a tx log on the disk (which dummyTm doesn't) is the fact that it has 2PC optimisations for situations where only one resource is registered. In other words if there is only one cache participating in the transaction (most of our tests are like that) there won't be 2RPC but only one.
> Shall we use JBossTM as default TM for running local tests ?

+1 it seems to be a win+win :)

Considering these nice optimizations, would it make sense to use it
for batching too?
(if it's possible)

Cheers,
Sanne

>
> Cheers,
> Mircea
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>



More information about the infinispan-dev mailing list