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