Community

jboss cache as hibernate 2nd level - cluster node doesn't persist replicated data

reply from Sergey Graschenko in JBoss Cache - View the full discussion

>> Unless database1 and database2 are somehow replicated, I can't see your  use case working.

 

Thank you for the answer.

I understand I could do direct replication with databases.

 

What I wanted to do is to avoid extra network traffic since the same data (fresh entities)  will go (or at least I could config it) thru jboss cache cluster replication anyhow.

 

I'm still considering "manual persist at eviction". I mean to create a cache listener and do "manul persist" at eviction if event is not local.

 

Could you advice me what kind of problems will I get if any?

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community