Redis as Hibernate second level cache

后端 未结 6 1096
悲哀的现实
悲哀的现实 2021-01-30 11:19

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

6条回答
  •  遥遥无期
    2021-01-30 11:58

    I think your idea is great.
    I saw a hibernate 2nd level cache provider for memcached. Maybe it can help you also (i.e - get some ideas from it for working with redis?)
    I would appreciate if you can open source this work on github or googlecode or any other place.

提交回复
热议问题