You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dmitry Konstantinov (Jira)" <ji...@apache.org> on 2025/12/17 18:04:00 UTC

[jira] [Created] (CASSANDRA-21083) Optimize memtable flush logic

Dmitry Konstantinov created CASSANDRA-21083:
-----------------------------------------------

             Summary: Optimize memtable flush logic
                 Key: CASSANDRA-21083
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21083
             Project: Apache Cassandra
          Issue Type: Improvement
          Components: Local/Memtable
            Reporter: Dmitry Konstantinov


Memtable flushing to disk impacts write performance and can be a limiting factor for write throughput:
 * If we cannot flush fast enough we have to limit writes to memtables due to lack of available memory for them
 * flushing logic can be CPU-intensive and complete with writing threads for CPU by stealing 1-2 cores (or even more if memtable_flush_writers is set to a higher value)

More details about suggested optimisations will be added later.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org