akka/akka-core
ShardRegion - use counter instead of calculating size using foldLeft
Ouverte
#19 191 ouverte le 15 déc. 2015
1 - triagedhelp wantedt:cluster-shardingt:cluster-tools
Métriques du dépôt
- Stars
- (13 277 étoiles)
- Métriques de merge PR
- (Merge moyen 8j 19h) (10 PRs mergées en 30 j)
Description
As mentioned in #19154 - instead of using totalBufferSize calculated by foldLefting shardBuffers everytime it is possible to add simple integer counter to ShardRegion actor to improve performance.