Reputation: 45
I am looking for replicating cache. I had gone through the manuals of Ehcache. It only guides about configuration. I need to understand replication from performance prospective.
Upvotes: 0
Views: 110
Reputation: 1250
There is no synchronization in replicated setups. Replication is inherently racy (to your point #2 & #3). You shouldn't make any assumption on what node the replication will go first, but probably which it firsts get to. That may help answering question #4.
If you want some guarantees around consistency, you should probably cluster your Cache with Terracotta instead.
Upvotes: 1