I have a crazy idea : use Redis as hibernate second cache level. Redis is an in-memory datastore, it supports replication, pipeline, etc.. The goal is to share the hibernate cac
Just found a github project on it. https://github.com/debop/hibernate-redis I think it's already done. It's missing some documentation. EDIT: Just found a better repository, with better documentation. https://github.com/Jongtae/hibernate-redis
After building and importing the library into your project, it's as simple as any second level cache.
true
true
net.daum.clix.hibernate.redis.RedisRegionFactory
"redis.host"
I'm thinking in using redis in some functionalities in the website I'm working on. Other interesting possibilities: distributed Locking, tomcat session manager.