Java 在 Redis 中存储关系数据的框架
Java framework to store relational data in Redis
是否有Java框架可以在Redis中存储关系数据?用于简单用例的东西,例如:
- 1 篇文章到 N 条评论 – 按评论创建日期排序。
您有多种选择:
- jOHM(对象哈希映射器,https://github.com/xetorthio/johm)
- Hibernate OGM Redis(5.0.Beta,技术预览 https://docs.jboss.org/hibernate/ogm/5.0/reference/en-US/html/ch15.html)
- Spring 数据 Redis 键值 (https://github.com/spring-projects/spring-data-redis/pull/156, https://github.com/christophstrobl/spring-data-keyvalue-redis)
jOHM 相当成熟,而 Hibernate OGM Redis 相当新。
HTH,马克
更新
- 将 link 添加到 Spring 数据 Redis 键值 PR
这是一个good article about Redis based Live Objects
introduced in Redisson框架。
是否有Java框架可以在Redis中存储关系数据?用于简单用例的东西,例如:
- 1 篇文章到 N 条评论 – 按评论创建日期排序。
您有多种选择:
- jOHM(对象哈希映射器,https://github.com/xetorthio/johm)
- Hibernate OGM Redis(5.0.Beta,技术预览 https://docs.jboss.org/hibernate/ogm/5.0/reference/en-US/html/ch15.html)
- Spring 数据 Redis 键值 (https://github.com/spring-projects/spring-data-redis/pull/156, https://github.com/christophstrobl/spring-data-keyvalue-redis)
jOHM 相当成熟,而 Hibernate OGM Redis 相当新。
HTH,马克
更新
- 将 link 添加到 Spring 数据 Redis 键值 PR
这是一个good article about Redis based Live Objects
introduced in Redisson框架。