[infinispan-dev] Replicated sync vs async caches after ISPN-2473

Giovanni Meo gmeo at cisco.com
Thu Sep 12 03:48:09 EDT 2013


Hi infinispan-dev,

in order to chase an issue i have reported earlier i started to go through the 
code path executed by a replicated sync cache when adding a key to the 
ConcurrentMap. While walking through the 
org.infinispan.statetransfer.StateTransferInterceptor:handleWriteCommand method 
i run into a pointer to ISPN-2473.

Now what this enhancement has done is to transform the sync writes to async ones 
to avoid deadlocks. Now the question i have, from a newbie point of view, and 
sorry if it's trivial, what is now the difference between an async replicated 
cache and a sync one? Seems after this enhancement there is not much difference 
for non-transactional caches is that correct?

Thanks,
Giovanni
-- 
Giovanni Meo
Via del Serafico, 200                  Telephone: +390651644000
00142, Roma                            Mobile:    +393480700958
Italia                                 Fax:       +390651645917
                                        VOIP:      8-3964000
“The pessimist complains about the wind;
  the optimist expects it to change;
  the realist adjusts the sails.” -- Wm. Arthur Ward
IETF credo: "Rough consensus and running code"


More information about the infinispan-dev mailing list