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 2026/06/04 18:12:00 UTC
[jira] [Updated] (CASSANDRA-21362) Avoid ByteBuffer wrapping in cql3.selection.Selector.InputRow
[ https://issues.apache.org/jira/browse/CASSANDRA-21362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Konstantinov updated CASSANDRA-21362:
--------------------------------------------
Attachment: CASSANDRA-21362-6.0_ci_summary.htm.zip
CASSANDRA-21362-trunk_ci_summary.htm.zip
> 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: CASSANDRA-21362-6.0_ci_summary.htm.zip, CASSANDRA-21362-trunk_ci_summary.htm.zip, image-2026-05-10-16-52-05-513.png, may7_noser2_alloc.html
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org