Hi!

You have a good description at:

https://apacheignite.readme.io/docs/affinity-collocation

Long story short, it use hash codes on the keys to control distribution of the entries, affinity keys allow you to control what is used to calculate the hash codes, you can for example have a string and an integer as a key where only the integer is used as the affinity key, so all keys with the same integer value (and different strings) will end up in the same node.

Mikael

Den 2019-10-31 kl. 08:42, skrev BorisBelozerov:
Hello, I want to ask a question:
Apache Ignite distribute data equal each nodes, and use Affinity
How does Apache Ignite distribute and how does Affinity work??
Thank you!!



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to