[jboss-user] [JBossCache] - Re: How to use fully-eplicated and buddy-replicated caches w

manik.surtani@jboss.com do-not-reply at jboss.com
Mon Jan 7 20:00:01 EST 2008

"ne_vasya" wrote : 
  | I have a case where I need to fully replicate some data, but not all. 
  | I understand that I could configure 2 different caches, but that would imply that I need to configure 2 different JGroups channels which makes me a bit uneasy for following reasons:
  | -- SNIP --
  | Is there any way 2 caches could reuse the same JGroups cluster? 
  | Can I achieve this with options override feature?
  | Can I use options override on per-node level?

Yes, 2 Cache instances can share a single JGroups channel using the JGroups Multiplexer.  There are sample configs in SVN.  

And here's a wiki page with more info on the multiplexer: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheMultiplexer

In a nutshell, with the multiplexer, a single JGroups channel is created and shared among several cache instances.  That way, one cache can be configured to use BR and the other can use total replication.

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

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

More information about the jboss-user mailing list