[ 
https://issues.apache.org/jira/browse/IGNITE-7986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitaliy Biryukov updated IGNITE-7986:
-------------------------------------
    Description: 
GridPartitionStateMap based on BitSet. And the size of a BitSet depends on the 
maximum key element, and not on the number of elements. 

Just using the "BitSet.nextSetBit" method, will improve the performance of the 
iterator for big clusters or caches with a large number of partitions.

  was:
GridPartitionStateMap based on BitSet. And the size of a BitSet depends on the 
maximum key element, and not on the number of elements. 

 

 

 

 

As far as I understand,  size of the GridPartitionStateMap depends on the 
number of nodes in the cluster, the number of backups and the number of 
partitions (except local map).  


> GridPartitionStateMap.entrySet() optimization.
> ----------------------------------------------
>
>                 Key: IGNITE-7986
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7986
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vitaliy Biryukov
>            Assignee: Vitaliy Biryukov
>            Priority: Major
>
> GridPartitionStateMap based on BitSet. And the size of a BitSet depends on 
> the maximum key element, and not on the number of elements. 
> Just using the "BitSet.nextSetBit" method, will improve the performance of 
> the iterator for big clusters or caches with a large number of partitions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to