[jboss-user] [JBossCache] - Re: Replication vs. Invalidation and Configuration

manik.surtani@jboss.com do-not-reply at jboss.com
Mon Jan 8 12:17:03 EST 2007


Hi,

Sorry for the slow response.

For your use case where you need to maintain state across all servers, INVALIDATION will not work.  You do need to use replication.

Just to brush up on the concepts, invalidation will *remove* state on remote nodes if one node updates this state while replication will *update* this state on all remote nodes.

Invalidation only makes sense if you use a *physical* cache loader (such as a database, file system or far cache) rather than the clustered cache loader, which relies on this state being available on remote cache nodes.

Regarding your multicast issues, I'd recommend troubleshooting your network/JGroups stack first - Here's some literature that may help. 

Cheers,
Manik

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999102#3999102

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999102



More information about the jboss-user mailing list