think it's practical to create
that many caches.
I still can't get why the affinity function can't be applied to an arbitrary
cluster group, and why it must necessarily be a cache. Isn't the cache affinity
just a special case of the cluster group affinity defined as
ClusterGroup.forCache
by some attribute.
This is pure compute, no caches.
Thanks
Andrey
> Date: Wed, 7 Oct 2015 13:46:23 +0300
> Subject: Re: Cluster group affinity
> From: yzhda...@apache.org
> To: dev@ignite.apache.org
>
> Andrey, probably it is, but I am not sure if I have ever had a thought for
&g
2015-10-07 15:14 GMT+03:00 Andrey Kornev :
> Thanks, Yakov! I'm going to use your code (I hope it's Apache2 licensed:)))
>
You are welcome! No warranties, btw. I did not test this code :)
>
> As for the use case, it's quite simple. I have a group of compute nodes
>
hanks
> Andrey
>
> > Date: Tue, 6 Oct 2015 16:43:10 +0300
> > Subject: Re: Cluster group affinity
> > From: ag...@gridgain.com
> > To: dev@ignite.apache.org
> >
> > Andrey,
> >
> > See AffinityFunction.assignPartitions method. It returns assignm
> > wrote:
> >
> > > Andrey, thanks!
> > >
> > > But a "properly formed AffinityFunctionContext" is the problem:
> > > 1) I'm expected to return an instance of the internal class
> > > AffinityTopologyVersion.
> > > 2) the consequences
an Affinity instance
corresponding to the group? Cheers!
_
From: Andrey Gura <ag...@gridgain.com>
Sent: Tuesday, October 6, 2015 9:31 PM
Subject: Re: Cluster group affinity
To: <dev@ignite.apache.org>
>
> Just curios, h
t; seem to provide a way to map the partition id to a cluster node. So I'm a
> little bit confused right now.
>
> Could you please clarify?
>
> Thanks a lot
> Andrey
>
> > From: dsetrak...@apache.org
> > Date: Mon, 5 Oct 2015 09:53:25 -0700
> > Subject: Re: Clus
Hello,
I have a user-defined cluster group and I'd like to be able to consistently
pick the same node in the group for a given key. Essentially, what I want is a
cluster group affinity that is not associated with any cache. How can I do it?
Thanks
Andrey