You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Vijay (JIRA)" <ji...@apache.org> on 2011/01/11 03:40:45 UTC
[jira] Updated: (CASSANDRA-1945) Use EHcache for row cache + disk
spillover
[ https://issues.apache.org/jira/browse/CASSANDRA-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay updated CASSANDRA-1945:
-----------------------------
Attachment: 0003-New_Cache_Providers-1945.txt
0002-Update_existing-1945.txt
0001-Config-1945.txt
I was trying to implement the BigMemory concept into Cassandra cache..... I was trying BB for caching and the performance looks great, nearly 50% less footprint in the heap (org.apache.cassandra.cache.bblru.JMXByteBufferCacheProvider) and the concurrent mark sweep shows better performance (tried @ multiple times w/t similar conditions - CPU and memory usage).
I did a very basic testing....
I also tried ehcache (OSS version) and it had almost similar performance to the existing cache but it has disk persistence so I have attached the Patch.
Let me know if you want separate ticket for BB cache. but i think this gives the user flexibility to choose the cache_provider during startup.
NOTE: The Code Attached is for POC and needs some cleanup's.
Thanks You!
> Use EHcache for row cache + disk spillover
> ------------------------------------------
>
> Key: CASSANDRA-1945
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1945
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: T Jake Luciani
> Attachments: 0001-Config-1945.txt, 0002-Update_existing-1945.txt, 0003-New_Cache_Providers-1945.txt, ehcache-1.6.2.jar, EhCache-OSS.png, JMX-EhCache.png
>
>
> Ehcache does a nice job of spilling over to disk and its ASL2
> http://www.ehcache.org/license.html
> Also, the commercial version supports Smaller JVM sizes via it's BigMemory product
> http://www.terracotta.org/bigmemory
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.