[ https://issues.apache.org/jira/browse/CASSANDRA-4315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290787#comment-13290787 ]
Vijay edited comment on CASSANDRA-4315 at 6/7/12 4:31 AM: ---------------------------------------------------------- We also might want to use MemoryMeter for KeyCache.put() too, with Promoted index in 1.2... KeyCache no longer honers AVERAGE_KEY_CACHE_ROW_SIZE of 48 bytes. was (Author: vijay2...@yahoo.com): We also might want to use MemoryMeter for KeyCache.put() too, with Promoted index in the mix KeyCache no longer honers AVERAGE_KEY_CACHE_ROW_SIZE of 48 bytes. > Use EntryWeigher instead of Weigher to Measuring the cache. > ----------------------------------------------------------- > > Key: CASSANDRA-4315 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4315 > Project: Cassandra > Issue Type: Improvement > Components: Core > Affects Versions: 1.2 > Reporter: Vijay > Assignee: Vijay > Fix For: 1.2 > > > This ticket is a followup for CASSANDRA-4150. > CLHM 1.3 added EntryWeigher which will help us accurately measure the size of > the > It might be useful to add Key capacity (In-Heap Overhead) vs off-heap > capacity for serializing cache (To avoid OOM's for a long Row Keys). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira