[infinispan-dev] TxRecovery design update

Mircea Markus mircea.markus at jboss.com
Mon Mar 14 06:21:26 EDT 2011


On 14 Mar 2011, at 09:57, Galder Zamarreño wrote:

> Mircea,
> 
> Wrt recoveryCache, do you expect people to define this cache in the XML config? Or will you build this cache configuration programmatically using defineConfiguration() ?
What I have in mind is a) allow the users to define such a cache and specify its name in the recovery config or b) if not specify I'll build one for them.
> 
> I think it should be the latter, just like Hot Rod manages the TopologyCache, see:
> https://github.com/infinispan/infinispan/blob/master/server/hotrod/src/main/scala/org/infinispan/server/hotrod/HotRodServer.scala#L143
Not sure what's the advantage of NOT allowing users to define the cache in the config file?
> 
> Cheers,
> 
> On Mar 11, 2011, at 5:43 PM, Mircea Markus wrote:
> 
>> Hi,
>> 
>> I've updated tx recovery design document[1] after feedback received from Manik: the most relevant changed is that all recovery information is now stored in a local cache (user can configure it). This way the user is in control of the memory consumed by recovery, being able to passivate to disk this information when/if needed. And all this out-of-the box.  
>> 
>> Cheers,
>> Mircea 
>> 
>> [1] http://community.jboss.org/wiki/Transactionrecoverydesign
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> --
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
> 
> 
> _______________________________________________
> 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