1 of 1 people found this helpful
Yes, but the setup will differ depending on your needs. You can use simple 4-node cluster with communication over JGroups with TCP-based configuration. However, writes to the cache would be very slow, since the replication would require up to two WAN roundtrips - that's the price for synchronous replication. More suited for this setup is asynchronous cross-site replication: you'd use 2 clusters with 2 nodes each, and the data over WAN would go asynchronously. The setup is somewhat more complex, see http://infinispan.org/docs/7.1.x/user_guide/user_guide.html#CrossSiteReplication
Thank you for the input. I will try it over the next week to set it up and see how efficient it is. I need to use this to replicate the sessions in the play frame work across the geographical cluster.