Team, I read cluster sharding many time http://doc.akka.io/docs/akka/2.3-M2/contrib/cluster-sharding.html.
I understand the "idExtractor", used to pick the actor entries. But did not understand in detail "shardResolver". What is the difference between ShardRegion(not sharding region) and Shard. I am unable to follow below paragraph, shard is a group of entries that will be managed together. The grouping is defined by the shardResolverfunction shown above. Creating a good sharding algorithm is an interesting challenge in itself. Try to produce a uniform distribution, i.e. same amount of entries in each shard. As a rule of thumb, the number of shards should be a factor ten greater than the planned maximum number of cluster nodes. [Prakhyat] I understand shard is group of entries. But I get confused in line "same amount of entries in each shard". What does it mean by *each* shard?Correct me if my understanding is correct, does it mean, consider if two nodes are clustered, two shard will be created one in each node and entries will distributed in these two shards? -Prakhyat M M -Prakhyat M M -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
