JBoss Community

Q: setting mixed CacheMode per region

created by Shoner Sul in JBoss Cache - View the full discussion

Dear members,

 

I'm looking for a proper JBossCache configuration which can deal with a situation below.

 

I would like to set CacheMode REPL_ASYNC for region1 with a lot of raw data,

and REPL_SYNC for region2 with small amount of sensitive data

in order to minimize performance impact due to synchronization.

 

All other things like JBoss Channel are same, so I would like to have them under one XML file.

However I could not find an example of mixed CacheMode.

 

Is there a way to configure different CacheMode, NodeLockingScheme, or IsolationLevel for each region?

Or should I create separate cluster or XML file?

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community