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)

Reply via email to