[
https://issues.apache.org/jira/browse/CASSANDRA-21040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Konstantinov updated CASSANDRA-21040:
--------------------------------------------
Change Category: Performance
Complexity: Low Hanging Fruit
Fix Version/s: 5.x
> Optimize ModificationStatement#requiresRead
> --------------------------------------------
>
> Key: CASSANDRA-21040
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21040
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: CQL/Interpreter
> Reporter: Dmitry Konstantinov
> Assignee: Dmitry Konstantinov
> Priority: Normal
> Fix For: 5.x
>
> Attachments: image-2025-11-22-12-30-59-096.png
>
>
> org.apache.cassandra.cql3.statements.ModificationStatement#requiresRead is
> calculated now every time, we can calculate it once and memorize the result.
> It costs 1.5% of CPU for a simple batch insert test.
> !image-2025-11-22-12-30-59-096.png|width=1000!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]