cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sankalp kohli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-9466) CacheService.KeyCacheSerializer affects cache hit rate
Date Sat, 23 May 2015 08:15:17 GMT
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)

Mime
View raw message