Skip to content

[CASSANDRA-21362][trunk] Avoid ByteBuffer wrapping in cql3.selection.Selector.InputRow to reduce memory allocation rate#4816

Open
netudima wants to merge 2 commits into
apache:trunkfrom
netudima:CASSANDRA-21362-trunk
Open

[CASSANDRA-21362][trunk] Avoid ByteBuffer wrapping in cql3.selection.Selector.InputRow to reduce memory allocation rate#4816
netudima wants to merge 2 commits into
apache:trunkfrom
netudima:CASSANDRA-21362-trunk

Conversation

@netudima
Copy link
Copy Markdown
Contributor

Current ReadCommand logic returns ArrayCell values, so when we retrieve a cell value as a ByteBuffer we allocate ByteBuffer instances

patch by Dmitry Konstantinov; reviewed by TBD for CASSANDRA-21362

…ce memory allocation rate

Current ReadCommand logic returns ArrayCell values, so when we retrieve a cell value as a ByteBuffer we allocate ByteBuffer instances

patch by Dmitry Konstantinov; reviewed by TBD for CASSANDRA-21362
@netudima netudima force-pushed the CASSANDRA-21362-trunk branch from 728c131 to 86b6677 Compare June 2, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant