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

[jira] [Created] (CASSANDRA-9829) Dynamically adjust LCS level sizes

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)