On Wed, Oct 28, 2015 at 12:36 PM, kevin <[email protected]> wrote:
> Example: > 1) Every second, each node writes a number to the cache. > 2) One of the nodes will query for the average of all the counters. > > So I have nothing to co-locate my data on, but I just want them to be > stored on the local node. > What keys are you going to use to store the numbers? In Ignite, you can always detect which node a key belongs to via multiple methods available on the org.apache.ignite.cache.affinity.Affinity interface. > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Always-write-to-local-node-for-partitioned-cache-tp1749.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >
