<div dir="ltr">Randall,<div><br></div><div>That&#39;s right - this is completely an off-heap memory store.  I couldn&#39;t decide on making it a generic mapdb store vs just an offheap store ;)  I went w/ the former because it&#39;s easier.</div>
<div><br></div><div style>That being said, I think it&#39;ll be trivial to change the code to use persistence.  It would be interesting to see the performance differences.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Sep 3, 2013 at 9:36 AM, Randall Hauch <span dir="ltr">&lt;<a href="mailto:rhauch@redhat.com" target="_blank">rhauch@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Looks good. Perhaps I&#39;m missing something, but I don&#39;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&#39;d love to see how that compares to a cache store based upon LevelDB. <div>
<div class="h5"><div><div><br><div><div>On Sep 3, 2013, at 10:55 AM, Ray Tsang &lt;<a href="mailto:saturnism@gmail.com" target="_blank">saturnism@gmail.com</a>&gt; wrote:</div><br><blockquote type="cite"><div dir="ltr">Good timing - I just started an off-heap store for fun that uses mapdb direct memory db.<div>
<a href="https://github.com/saturnism/infinispan-cachestore-offheap" target="_blank">https://github.com/saturnism/infinispan-cachestore-offheap</a></div>
<div><br></div><div>Please take a look!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 3, 2013 at 6:13 AM, Randall Hauch <span dir="ltr">&lt;<a href="mailto:rhauch@redhat.com" target="_blank">rhauch@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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&#39;s only at 0.9.5, but progressing quite nicely. I&#39;ve been looking at it for other uses, and quite enjoy it.<br>


<br>
        <a href="http://mapdb.org/" target="_blank">http://mapdb.org</a><br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</blockquote></div><br></div>
_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></blockquote>
</div><br></div></div></div></div></div><br>_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br></blockquote></div><br></div></div>