[infinispan-dev] Cache store for MapDB (what used to be JDBM)

Ray Tsang saturnism at gmail.com
Tue Sep 3 12:42:06 EDT 2013


Randall,

That's right - this is completely an off-heap memory store.  I couldn't
decide on making it a generic mapdb store vs just an offheap store ;)  I
went w/ the former because it's easier.

That being said, I think it'll be trivial to change the code to use
persistence.  It would be interesting to see the performance differences.


On Tue, Sep 3, 2013 at 9:36 AM, Randall Hauch <rhauch at redhat.com> wrote:

> Looks good. Perhaps I'm missing something, but I don't see a way to
> persist to local disk with your cache store. Is that right? I see the
> advantage of having an off heap memory-based cache store, but your code is
> actually not too far away from a cache store that persists to a
> (memory-mapped) file. I'd love to see how that compares to a cache store
> based upon LevelDB.
>
> On Sep 3, 2013, at 10:55 AM, Ray Tsang <saturnism at gmail.com> wrote:
>
> Good timing - I just started an off-heap store for fun that uses mapdb
> direct memory db.
> https://github.com/saturnism/infinispan-cachestore-offheap
>
> Please take a look!
>
>
> On Tue, Sep 3, 2013 at 6:13 AM, Randall Hauch <rhauch at redhat.com> wrote:
>
>> Has anyone looked at writing a cache store that uses MapDB? It provides
>> Maps, Sets and Queues backed by disk storage or off-heap memory, with MVCC
>> and (non-JTA) transactions. The author previously wrote JDBM (multiple
>> versions), and has recently ventured out on his own to focus on MapDB
>> full-time. It's only at 0.9.5, but progressing quite nicely. I've been
>> looking at it for other uses, and quite enjoy it.
>>
>>         http://mapdb.org
>> _______________________________________________
>> 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
>
>
>
> _______________________________________________
> 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/20130903/ee97db7b/attachment.html 


More information about the infinispan-dev mailing list