Apache Ignite defines hashing smoothing algorithm
At https://ignite.apache.org/features/datagrid.html I found the following information:
"Unlike other keystores, Ignite defines data locality using a flexible hashing algorithm. Each client can determine which node a key belongs to by connecting it to a hashing function, without the need for any special mapping servers or hostnames."
How can I define my own hashing algorithm?
+3
Turok
source
to share
1 answer
To do this, you can implement an interface AffinityFunction
and provide an implementation using a config property CacheConfiguration#affinity
.
+3
Valentin Kulichenko
source
to share