http://apache-ignite-developers.2346864.n4.nabble.com/Resurrect-FairAffinityFunction-td19987.html
Thanks,
Stan
From: ashishb008
Sent: 19 декабря 2018 г. 9:09
To: user@ignite.apache.org
Subject: Re: Did anyone write custom Affinity function?
Yeah, we were planning to increase group IDs.
Did anybody
Yeah, we were planning to increase group IDs.
Did anybody write custom Affinity function? If it is already written that
will be helpful to us.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Hi!
3 different affinity keys on 3 nodes is not enough, it's a hash code
that is used so you may end up with 2 groups (or even all 3) on one
node, if you need it to work that way you will need to create your own
affinity function.
Any way you might be able to increase the number of group id'
Hello,
As of now, we have 3 nodes. We use group ID as affinity key, and we have 3
group IDs (1, 2 and 3). And we limit cache partitions to group IDs. Overall
nodes=group IDs=cache partitions. So that each node have equal number of
partitions.
But it doesn't distribute cache partitions across the
Hi!
How many nodes do you have and what are you using for the affinity key ?
there is of course a small chance that the distribution is not even but
in most cases it will work fine as long as it has enough different
values to choose from, but it depends a little bit on what you use for
affini