cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-1945) Use EHcache for row cache + disk spillover
Date Tue, 11 Jan 2011 14:54:46 GMT


Jonathan Ellis commented on CASSANDRA-1945:

Sounds like BigMemory pushes everything through Java serialization, which is a huge ouch.
 Their page says

"Because off-heap data is stored in bytes, there are two implications:
    * "Only Serializable cache keys and values can be placed in the store, similar to DiskStore.
    * "Serialization and deserialization take place on putting and getting from the store.
This means that the off-heap store is slower in an absolute sense (around 10 times slower
than the MemoryStore)"

10x slower is awfully close to "don't bother with rowcache and just rebuild it using the OS
page cache to cache the underlying sstable bytes" territory for us.

> Use EHcache for row cache + disk spillover
> ------------------------------------------
>                 Key: CASSANDRA-1945
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: T Jake Luciani
>            Assignee: Vijay
>         Attachments: 0001-Config-1945.txt, 0002-Update_existing-1945.txt, 0003-New_Cache_Providers-1945.txt,
BB_Cache.png, ehcache-1.6.2.jar, EhCache-OSS.png, JMX-Cache.png, JMX-EhCache.png, Old_Cahce.png
> Ehcache does a nice job of spilling over to disk and its ASL2
> Also, the commercial version supports Smaller JVM sizes via it's BigMemory product

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message