[infinispan-dev] Native CacheStore implementation?

Galder Zamarreño galder at redhat.com
Thu Oct 14 03:32:38 EDT 2010


On Oct 12, 2010, at 6:43 PM, Mircea Markus wrote:

> 
> On 12 Oct 2010, at 14:47, 이희승 (Trustin Lee) wrote:
> 
>> Tristan Tarrant wrote:
>>> On Tue, Oct 12, 2010 at 15:33, "이희승 (Trustin Lee)" <trustin at gmail.com
>>> <mailto:trustin at gmail.com>> wrote:
>>> 
>>>   Currently, we have two local CacheStore implementations - BDBJE and
>>>   JDBM.
>>> 
>>> 
>>> Correction: there is also the FileCacheStore. 
>> 
>> You are right.  I missed that, argh! :)
>> 
>> How does it perform then comparing to BDBJE and JDBM?  Out of curiosity,
>> if there is a good file-based cache store implementation, why BDBJE and
>> JDBM backends were introduced?
> One reason is that FileCacheStore is not good with transactions.Transactions & cache stores will get more attention in 5.0. Also FileCacheStore is a BucketBasedCacheStore which might not be good if keys hash in the same bucket.
> I like your idea of native cache store though, and I think as long as we can outperform the other stores we should only maintain that one.

Trustin/Mircea,

What exactly do you guys mean by 'native'? Something like what HornetQ guys did? Or your talking more about adapting an existing cache store impl library to suit our type of ops? 

I suppose you'd be targeting the local cache store space and not the shared one, correct?

I do have some doubts on whether spending time implementing another cache store impl would be really that useful.

When I was in Berlin, rather than implementing another X cache store due to performance, I heard users asking more about whether they could have their existing databases be read by Infinispan cache stores, to avoid having multiple databases, one for a shared JDBC cache store and one for their JPA or similar ORM databases. Granted that this could be done with a Hibernate based cache store but then again you could be wondering whether they should not just use Hibernate directly with a 2LC.

>> -- 
>> http://gleamynode.net/
>> 
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> 
> _______________________________________________
> 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




More information about the infinispan-dev mailing list