[ 
https://issues.apache.org/jira/browse/CASSANDRA-15763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17099561#comment-17099561
 ] 

Yifan Cai commented on CASSANDRA-15763:
---------------------------------------

Hi [~djoshi], making the initial size and the growth factor tunable is 
especially useful in the case when getting many deletes for a single partition.

With a larger initial size and growth factor, it helps to reduce the cost of 
frequent array resizing/allocation underneath. 

> Tunable RangeTombstoneList initial size and resize factor
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-15763
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15763
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Config
>            Reporter: Yifan Cai
>            Assignee: Yifan Cai
>            Priority: Normal
>
> Cassandra allocates a backing array with a fixed size of one when creating a 
> new RangeTombstoneList object. The resize factor is fixed to 1.5.
> The initial size and resize factor could be made tunable so it could reduce 
> cost in some cases. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to