Re: [infinispan-dev] SimpleFileCacheStore

2013-07-31 Thread Radim Vansa
On 07/30/2013 07:18 PM, Mircea Markus wrote: Adding infinispan dev and Martin. I think it makes a lot of sense for QE to run the tests you suggested. Sent from my iPhone On 30 Jul 2013, at 17:56, Shane Johnson shjoh...@redhat.com wrote: I was looking at the code for this cache store the

Re: [infinispan-dev] SimpleFileCacheStore

2013-07-31 Thread Mircea Markus
On 30 Jul 2013, at 20:03, Shane Johnson shjoh...@redhat.com wrote: One option might be to use a fix key set size and simply increment the value for each key by X every time it is written. Sort of like an object with a collection and every time a nested object is added to the collection, the

Re: [infinispan-dev] SimpleFileCacheStore

2013-07-31 Thread Radim Vansa
On 07/31/2013 10:31 AM, Mircea Markus wrote: On 30 Jul 2013, at 20:03, Shane Johnson shjoh...@redhat.com wrote: One option might be to use a fix key set size and simply increment the value for each key by X every time it is written. Sort of like an object with a collection and every time a

Re: [infinispan-dev] SimpleFileCacheStore

2013-07-31 Thread Manik Surtani
On 31 Jul 2013, at 08:22, Radim Vansa rva...@redhat.com wrote: I noticed that is neither a log structured nor a b/b+ tree implementation and it lacks compaction. Maybe it is elsewhere or I simply missed it? No, the storage does not need any search structure as it keeps all keys with

Re: [infinispan-dev] SimpleFileCacheStore

2013-07-31 Thread Mircea Markus
On 31 Jul 2013, at 12:33, Manik Surtani msurt...@redhat.com wrote: On 31 Jul 2013, at 08:22, Radim Vansa rva...@redhat.com wrote: I noticed that is neither a log structured nor a b/b+ tree implementation and it lacks compaction. Maybe it is elsewhere or I simply missed it? No, the

Re: [infinispan-dev] Secondary cache stores moved to their own repos

2013-07-31 Thread Mircea Markus
Thanks for this Tristan! On 30 Jul 2013, at 16:47, Tristan Tarrant ttarr...@redhat.com wrote: Dear all, I have just completed the move of all secondary cachestores to their own repos on github. This means: bdbje, jdbm, cassandra, cloud, hbase, leveldb, jpa and mongodb This means that

Re: [infinispan-dev] CacheStore redesign: no XA cache stores

2013-07-31 Thread Mircea Markus
On 30 Jul 2013, at 23:12, Sanne Grinovero sa...@infinispan.org wrote: My experience with transactions is limited, so I likely am missing on some base concept, but I don't understand why the fact that it's running on a different process is limiting in any form. We do that regularly from

Re: [infinispan-dev] CacheStore redesign: no XA cache stores

2013-07-31 Thread Sanne Grinovero
On 31 July 2013 16:01, Mircea Markus mmar...@redhat.com wrote: On 30 Jul 2013, at 23:12, Sanne Grinovero sa...@infinispan.org wrote: My experience with transactions is limited, so I likely am missing on some base concept, but I don't understand why the fact that it's running on a different

Re: [infinispan-dev] CacheStore redesign: no XA cache stores

2013-07-31 Thread Mircea Markus
Sent from my iPhone On 31 Jul 2013, at 17:01, Sanne Grinovero sa...@infinispan.org wrote: On 31 July 2013 16:01, Mircea Markus mmar...@redhat.com wrote: On 30 Jul 2013, at 23:12, Sanne Grinovero sa...@infinispan.org wrote: My experience with transactions is limited, so I likely am