Search code examples
javadistributedjboss-cache

Jboss Cache as distributed state repository


Is using JBoss Cache as distributed state repository a good idea?

Can JBoss Cache be applied in situation when you need the guarantee that each time you read something from repository you get the newest version of it? - and irrespective of which node in a cluster we consider?


Solution

  • You need to be careful with this stuff, but I would say yes. JBossCache is transactional, and can perform asynchronous or synchronous atomic operations on the distributed state. I've had good experiences with it, and can recommend it. It can be temperamental and obscure at times, but I've yet to find anything else that can do the same job.