[infinispan-dev] Hotrod Server/client cluster with distributed cache question

Hammad Said hsaid at redhat.com
Wed Aug 13 15:39:21 EDT 2014


I have four inifinispan server cluster nodes. The hotrod clients are running on each of the machines where the server resides. Each hotrod client is configured to go to a particular server. The cacheA is a distributed cache with two owners. I want to understand the following:

1) If a particular key1 is saved to a particular sever1 and is replicated to server2 , and the client1 for server1 tries to get the key , does it always get from server1?

2) When the client2 for which the primary server is sever2, tries to get key1, does it get from server2 or does it know to get from the primary owner server1?

3) When client3 for server3 tries to get the key does it get from server1(primary owner), or does it get from server3, which then requests it from server1

Thanks!
Hammad


More information about the infinispan-dev mailing list