-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Current status about cache / distributed caching:
- ehcache 2.x used as hibernate second level cache backend and spring cache backend
- infinispan integration (configuration) and a home-made wrapper to manage locks and message communication over infinispan
We already use hibernate + ehcache + jgroups to manage distributed cache eviction, but it is not integrated in igloo.
We may choose a strategy for the future:
-
drop ehcache and use infinispan
- infinispan provides hibernate caching module
- infinispan is a JSR-107 (JCache) provider and spring can wrap JSR-107 providers
- our current ehcache's usage are basics and may not be impacted by this move
- we need to implement again cache management interface for hibernate and web-caches
-
no changes:
- ehcache as second level cache and spring backend and if we need distributed behavior:
- switch caches to spring + infinispan JSR-107
- configure ehcache + jgroups
- infinispan triggered only for distributed behaviors
- ehcache as second level cache and spring backend and if we need distributed behavior:
Metadata
Metadata
Assignees
Labels
No labels