large supercolumn deserialization invokes CSLM worst case scenario
------------------------------------------------------------------

                 Key: CASSANDRA-1891
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1891
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.7.0 rc 2, 0.7.0 rc 1, 0.7 beta 3, 0.7 beta 2, 0.7 beta 
1, 0.6.8, 0.6.7, 0.6.6, 0.6.5, 0.6.4, 0.6.3, 0.6.2, 0.6.1, 0.6, 0.5, 0.4, 0.3
            Reporter: Cliff Moon
            Priority: Minor


SuperColumn deserialization hits a worst case insert scenario for CSLM: 
inserting pre-sorted entries one at a time.  Inside of CSLM this requires 
scanning to the end of the list and doing a comparison at every step for every 
item inserted.  This patch supplies a SortedMap interface to the supercolumn 
deserialization.  CSLM will do a bulk insert from a SortedMap interface 
supplied in the constructor.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to