You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by rishi007bansod <ri...@gmail.com> on 2017/05/18 06:46:06 UTC

Affinity Function in Apache Ignite

Hi,
   1. What is default affinity function used in ignite for key to partition
to node mapping?
   2. Also exactly how mapping is done in RendezvousAffinityFunction using
highest random weight algorithm?

Thanks



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Affinity-Function-in-Apache-Ignite-tp12991.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Affinity Function in Apache Ignite

Posted by Andrey Gura <ag...@apache.org>.
Hi,

1. RendezvousAffinityFunction is use by default with 1024 partitions.
2. It is simple implementation enough. Just look at source code of
RendezvousAffinityFunction class. Start from assignPartitions method.

On Thu, May 18, 2017 at 9:46 AM, rishi007bansod
<ri...@gmail.com> wrote:
> Hi,
>    1. What is default affinity function used in ignite for key to partition
> to node mapping?
>    2. Also exactly how mapping is done in RendezvousAffinityFunction using
> highest random weight algorithm?
>
> Thanks
>
>
>
> --
> View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Affinity-Function-in-Apache-Ignite-tp12991.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.