Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1365

Akka cluster sharding base on traffic of shards

$
0
0

Akka cluster sharding-coordinator uses LeastShardAllocationStrategy to decide. but the problem is some times all memebers not equal , i mean some members will have more traffic than others , so if akka distribute them equally through the nodes , some nodes will be under more traffics .

I found that we could implement ShardAllocationStrategy manually, but it only keep track of the shardRegion actorRefs and shardIds .

My question is how we could have more meaningful state (e.g. weight of each shardId) there to decide base on weight of shards?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1365

Trending Articles