MapDB implementation

28 views
Skip to first unread message

Jan Kotek

unread,
Jan 7, 2016, 11:59:26 AM1/7/16
to jsr107
Hi,

MapDB now has JCache implementation with in-process offheap / ondisk storage, under Apache2 license:

At this point its works reasonably well, passes most TCK tests, but needs some polishing, documentation and configuration options. 
That will be available next week. 

Right now I could use a few answers. 

- My version is probably thread-safe, but it could use some unit tests. Is there test suite to verify thread safety of JCache implementation? If I start my own, would somebody like to participate? I have pretty good results with Thread-Weaver...

- Are there any JCache benchmarks?

- And stress tests?

- How JCache works in combination with transactions and JTA? MapDB can rollback content of cache. So far I disabled rollbacks.

- MapDB implementation does not passes 20 unit tests from TCK. It is design and performance decision: Cache config is immutable, so CountingExpiryPolicy does not work. And zero expiration time is not supported (smallest TTL is 1ms) .  Is it possible to classify that as compatible implementation?

- What is current state of Async extension? I would be happy to implement that.

- Is there a common setting for Maximal Number of Entries?

- Is there a common setting for Maximal Storage Size (in MB)?


Thanks,
Jan Kotek 





Reply all
Reply to author
Forward
0 new messages