[infinispan-dev] Cache Store Does'nt Work Async Whenever Modification is Inside Transaction

Philippe Van Dyck pvdyck at gmail.com
Sat Jan 23 07:18:56 EST 2010


I do confirm this behavior.

Transactions and asynchronous updates may seem antagonistic, but they are
not on a multi-level cache.
I plan to use a synchronous transactional disk cache and a second non
transactional asynchronous s3 cache, to get the best of both worlds.

Since the asynchronous aspect of the s3 cache will not allow me to get any
feedback (aka Future), I want it to 'write-behind' in the background (and
hope everything goes well).

I will wait for the qi4j v1 release (probably Monday), adapt infinispan to
the blobstore of jClouds and take a closer look at this in a couple of
weeks.

Phil

On Sat, Jan 23, 2010 at 12:58 PM, Amin Abbaspour <a.abbaspour at gmail.com>wrote:

> Hi All,
>
> Regarding
> http://community.jboss.org/wiki/Write-ThroughAndWrite-BehindCaching
> , Even if Syncer is in Async mode, but if we modify a key inside a
> transaction boundary it is always stored synchronously! Why is it so?
> How can I have both locking and async store. FYI I use JBossTM
> Standalone.
>
> Regards,
> Amin Abbaspour
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20100123/b3cecdb6/attachment.html 


More information about the infinispan-dev mailing list