cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-9872) only check KeyCache when it is enabled
Date Mon, 31 Aug 2015 08:52:46 GMT


Robert Stupp updated CASSANDRA-9872:
         Priority: Minor  (was: Major)
    Fix Version/s: 2.1.x
       Issue Type: Bug  (was: Improvement)

> only check KeyCache when it is enabled
> --------------------------------------
>                 Key: CASSANDRA-9872
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Chris Burroughs
>            Assignee: Chris Burroughs
>            Priority: Minor
>              Labels: cache, metrics
>             Fix For: 2.1.x
>         Attachments: j9872-2.0-v1.txt, j9872-2.1-v1.txt, j9872-3.0-v1.txt
> If the KeyCache exists (because at least one column family is using it) we currenlty
check the key cache even for requests to column families where the key cache is disabled.
 I think it would be better to only check the cache if entries *could* be there.
>  * This will align the key cache with how the row cache behaves.
>  * This makes the key cache metrics much more useful.  For example, 'requests' becomes
'requests to things that could be in the key cache' and not just 'total requests'.
>  * This migh be a micro-optimization saving a few metric update.

This message was sent by Atlassian JIRA

View raw message