cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-9829) Dynamically adjust LCS level sizes
Date Thu, 16 Jul 2015 13:36:05 GMT
Jonathan Ellis created CASSANDRA-9829:
-----------------------------------------

             Summary: Dynamically adjust LCS level sizes
                 Key: CASSANDRA-9829
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9829
             Project: Cassandra
          Issue Type: New Feature
          Components: Core
            Reporter: Jonathan Ellis
            Assignee: Paulo Motta
             Fix For: 3.x


LCS works best when the top level is full.  Then 90% of reads can be served from a single
sstable.  By contrast if the top level is only 10% full then 90% of reads will be served from
two.  This results in worse performance as well as confused users.

To address this, we can adjust the ideal top level size to how much data is actually in it
(and set each corresponding lower level to 1/10 of the next one above).

(This is an idea [from rocksdb|https://www.reddit.com/r/IAmA/comments/3de3cv/we_are_rocksdb_engineering_team_ask_us_anything/ct4asen].)



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

Mime
View raw message