Dmitry Konstantinov created CASSANDRA-21606:
-----------------------------------------------

             Summary: Optimize BatchStatement.authorize for the case when a 
single table is updated
                 Key: CASSANDRA-21606
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21606
             Project: Apache Cassandra
          Issue Type: Improvement
          Components: Feature/Authorization
            Reporter: Dmitry Konstantinov
         Attachments: image-2026-08-25-13-32-06-773.png

We spend about 5.4% of CPU to authorize batches with 10 rows, for a write load 
if authorization is enabled.

If the table is the same for all rows, we need to check it only once.

write test: 
https://issues.apache.org/jira/browse/CASSANDRA-18831?focusedCommentId=18056293&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-18056293
 

!image-2026-08-25-13-32-06-773.png|width=600!



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to