[jboss-user] [JBossCache] - Re: JBossCache for Clustered Applications - timer service

2007-04-03 Thread [EMAIL PROTECTED]
Timer services are not a good use case for a cache since every cache access would involve a write. You're better off using a shared DB for this. Caches are primarily for "read-mostly" situations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034024#4034024

[jboss-user] [JBossCache] - Re: JBossCache for Clustered Applications - timer service

2007-03-29 Thread CacheUp
My initial idea was a variable in the cache that is read in order to invoke a timer service every 24 hours. But for that a lock is required in every cache when this object is accessed by the first application instance. The other solution is to have the variable in the DB and there it can be lock