You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "sankalp kohli (JIRA)" <ji...@apache.org> on 2015/05/23 10:15:17 UTC

[jira] [Created] (CASSANDRA-9466) CacheService.KeyCacheSerializer affects cache hit rate

sankalp kohli created CASSANDRA-9466:
----------------------------------------

             Summary: CacheService.KeyCacheSerializer affects cache hit rate
                 Key: CASSANDRA-9466
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9466
             Project: Cassandra
          Issue Type: Improvement
            Reporter: sankalp kohli
            Priority: Minor


Every time Autosaving cache stores to disk, it calls KeyCacheSerializer for every key. In the serialize method, we use this
RowIndexEntry entry = CacheService.instance.keyCache.get(key);
Instead it should use getInternal to avoid updating the stats. 
RowIndexEntry entry = CacheService.instance.keyCache.getInternal(key); 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)