[hibernate-dev] On 2nd level cache and requirements off the cache implementor
sanne at hibernate.org
Fri Apr 4 14:13:30 EDT 2014
Both Ehcache and Infinispan support transactions, but Ehcache doesn't
use this capability when running as Hibernate 2nd level cache, while
Infinispan uses it more as an implementation detail to provide
internal consistency, and not to participate with the application
So I think that the fact they both happen to also support Transactions
should be considered incidental.
I'd very interested too to hear from Galder and Alex about the
required atomic operation they build on. I could look at the code but
I'm primarily wondering of what they'd rather need conceptually, than
knowing what they are forced to do today.
On 4 April 2014 14:27, Emmanuel Bernard <emmanuel at hibernate.org> wrote:
> This is brain storming at this stage.
> How much is required of a cache provider as far as semantic is
> concerned and be cluster safe? The only providers we currently offer are EhCache and
> But both happen to be transactional so I wonder if that's a requirement
> and if not what are the list of atomic operations that a clustered cache
> provider would need to offer.
> Any hint and feedback appreciated :)
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
More information about the hibernate-dev