akka/akka-core
ShardRegion - use counter instead of calculating size using foldLeft
Aberta
#19.191 aberto em 15 de dez. de 2015
1 - triagedhelp wantedt:cluster-shardingt:cluster-tools
Métricas do repositório
- Stars
- (13.277 estrelas)
- Métricas de merge de PR
- (Mesclagem média 8d 19h) (10 fundiu PRs em 30d)
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.