[ 
https://issues.apache.org/jira/browse/CASSANDRA-21362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Konstantinov updated CASSANDRA-21362:
--------------------------------------------
    Attachment: may7_noser2_alloc.html

> Avoid ByteBuffer wrapping in cql3.selection.Selector.InputRow
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-21362
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21362
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Consistency/Coordination
>            Reporter: Dmitry Konstantinov
>            Assignee: Dmitry Konstantinov
>            Priority: Normal
>             Fix For: 6.x, 7.x
>
>         Attachments: image-2026-05-10-16-52-05-513.png, may7_noser2_alloc.html
>
>
> The logic is responsible for 10.7% of allocations in 10 row select test (if 
> CASSANDRA-21354 changes are already applied)
> We read data from Memtables and SSTables as byte arrays (ArrayCell, 
> ArrayClustering) but then to serialize them into CQL response we convert them 
> into ByteBuffer, so for every value we have to allocate a wrapping ByteBuffer:
>  !image-2026-05-10-16-52-05-513.png|width=900! 



--
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