[
https://issues.apache.org/jira/browse/CASSANDRA-13856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joshua McKenzie updated CASSANDRA-13856:
----------------------------------------
Component/s: Core
> Optimize ByteBuf reallocations in the native protocol pipeline
> --------------------------------------------------------------
>
> Key: CASSANDRA-13856
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13856
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Jason Brown
> Assignee: Jason Brown
> Priority: Minor
>
> This is a follow up to CASSANDRA-13789. I discovered we reallocate the
> {{ByteBuf}} when writing data to it, and it would be nice to size the buffer
> correctly up-front to avoid reallocating it. I'm not sure how easy that is,
> nor if the cost of the realloc is cheaper than calculating the size needed
> for the buffer. Adding this ticket, nonetheless, to explore that optimization.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]