The documentation does explain it pretty well:
https://apacheignite.readme.io/docs/affinity-collocation
Den 2018-06-08 kl. 07:41, skrev the_palakkaran:
Why do I want to map keys to partition ids? Can you tell me more, please?
By keys, it means the keys used for the cache right? If so, particu
Why do I want to map keys to partition ids? Can you tell me more, please?
By keys, it means the keys used for the cache right? If so, particular keys
will always go to some node, is that so?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Hello!
Affinity function determines mapping of keys to partition ids and of
partition ids to nodes. Usually you only override the first part since
changing the second one is a research problem.
Regards,
--
Ilya Kasnacheev
2018-06-07 18:36 GMT+03:00 the_palakkaran :
> Wow ! Thanks a ton. I
Wow ! Thanks a ton. If there was an upvote thing here,I would have surely
broke it.
Can you tell me what is the need of AffinityFunction then? Also can I
control this Rendezvous Hashing?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Hello!
This might be helpful: https://apacheignite.readme.io/docs/data-grid
1. It will be done automatically, every node will have around 1 records.
2. They will be distributed according to Rendezvous hashing of partition
ids.
3. If you have sufficient backups, data will be re-balanced to e
Hi,
The below is my scenario:
I have a CustomerCache. I have externalizable keys and models. Customers ids
range from 1 to 4. I have 4 nodes.
I have few doubts on clustering in ignite:
1. How can I restrict 1 records on each node?
2. How does ignite distribute records between each node