Hello,

Cache with LOCAL mode is never distributed between nodes by design. Other
nodes doesn't even know that it exists, you can quickly test it by starting
two server nodes with simple code that creates LOCAL cache with same name on
each node, puts different values for the same key and gets this key in while
true — you will receive the values that were put locally no matter what was
executed on other node.

The concept of affinity is completely unapplicable in this case: you don't
need a function that maps keys to nodes as LOCAL cache exists only on a
single node.

Could you please clarify the use-case a bit, which API are you going to use?

Initially I would assume that a broadcast that utilizes local primary
partition scans or local sql queries over a PARTITIONED cache is what you
are looking for.
 
Best regards,
Anton




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to