Hello nadirx sebastian.laskawiec rvansa
I have one question regarding distributed cache .
For example ,
I put 2 -3 large heavy object as (obj1,obj2,obj3)
RemoteCache<Integer,Object> rm=rmc.getCache("Test1");
rm.put(1,obj1);
rm.put(2,obj2);
rm.put(3,obj3);
1) Is distributed cache distribute whole cache based on key in all nodes?
2) Is distributed cache distribute whole cache based on key as well as value like obj1 in all nodes?
3) If it also divide key obj1(value) on different nodes.suppose any one node is down so how we get whole object ?
Thanks
Tejas Shah
Hi Tejas,
the values are not split: among nodes. The distribution is based on the key hash, but each [key, value] pair exists entirely in the owners (both primary and backups). If you want to split the values into multiple keys that's up to you to do.
Tristan