Branimir Lambov created CASSANDRA-7915:
------------------------------------------

             Summary: Waiting for sync on the commit log could happen after 
writing to memtable
                 Key: CASSANDRA-7915
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7915
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Branimir Lambov
            Priority: Minor


Currently the sync wait is part of CommitLog.add, which is executed in whole 
before any memtable write. The time for executing the latter is thus added on 
top of the time for file sync, which seems unnecessary.

Moving the wait to a call at the end of Keystore.apply should hide the memtable 
write time and may improve performance, especially for the batch sync strategy.



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

Reply via email to