Ajay,
To get better distribution you should have more partitions. Ideally, number
of partitions should be at least order of magnitude bigger than number of
nodes. I also recommend to use power of 2 as number of partitions (128, 256,
512, ...).
Default value is 1024 and it works fine in majority o
I don't about recommendations about this, you can use default value, which
works well for a lot of users.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Ignite2-0-Affinity-Key-Distribution-tp15123p15191.html
Sent from the Apache Ignite Users mailing list archive
Hi,
How much size(threshold limit) recommended for a partition.
Thanks,
Ajay.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Ignite2-0-Affinity-Key-Distribution-tp15123p15178.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>I configured 10 partitions, when i started the cluster with two nodes i saw
8 partitions in one server and two partitions in other server, can we make
partitions equally?
Play a little bit with partition number, try to set it to 128 or 256.
>If not then 8 partitions servers having more load comp
Hi,
I configured 10 partitions, when i started the cluster with two nodes i saw
8 partitions in one server and two partitions in other server, can we make
partitions equally?If not then 8 partitions servers having more load compare
to other right?
Thanks,
Ajay.
--
View this message in context:
Hi Ajay,
you question isn't fully correct,in both questions we should talk about
affinity key,
if you don't define affinity key, normal key is affinity key.
for simplicity I can say yes: all key/object pairs will be distributed
equally, at least for big amount of data with
good key's hashcode.
s
Hi,
Keys are distributed among partitions according to affinity function.
Partitions are distributed among nodes according to affinity function.
This chain "key->partition->node" is designed to simplify data exchange
between nodes on topology changing and due to performance reasons.
RendezvousAff
Hi,
I want to know scenarios,
1)I have 10 affinity keys like 1-10 suppose when i load this keys between
two servers(2 nodes) it will equally distribute or randomly distribute?
2)I have 10 normal keys like 1-10 suppose when i load this keys between two
servers(2 nodes) it will equally distribute o