You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ClusterPartitionParser.parse(…) leads to a lot of object allocations for Integer objects caused by slot objects. We should switch to BitSet (similar to what RedisClusterNode does).
Also, Partitions.updateCache(…) suffers from a similar issue when obtaining slots for the cache update.
The text was updated successfully, but these errors were encountered:
Cluster topology refresh now has reduced object allocation overhead by using a bit set for initial parsing of slots.
Topology object iteration also uses loops again instead of Java 8 Stream API.
ClusterPartitionParser.parse(…)
leads to a lot of object allocations forInteger
objects caused by slot objects. We should switch toBitSet
(similar to whatRedisClusterNode
does).Also,
Partitions.updateCache(…)
suffers from a similar issue when obtaining slots for the cache update.The text was updated successfully, but these errors were encountered: