cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sankalp kohli (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-9496) ArrivalWindow should use primitives
Date Thu, 28 May 2015 01:14:17 GMT
sankalp kohli created CASSANDRA-9496:

             Summary: ArrivalWindow should use primitives 
                 Key: CASSANDRA-9496
             Project: Cassandra
          Issue Type: Improvement
            Reporter: sankalp kohli
            Priority: Minor

While doing a heap analysis of a large cluster(1000+), I found that majority of the strongly
referenced objects on heap are coming from ArrivalWindow. 
Currently ArrivalWindow uses BoundedStatsDeque which uses LinkedBlockingDeque<Long>
For a cluster of size 1000, it will translate into 2 million objects. 

We can use primitives and use an array of long(long[]). This will cut down on the number of
objects and the change is not that big. 

This message was sent by Atlassian JIRA

View raw message