提交 f7b1c41b 编写于 作者: 武汉红喜's avatar 武汉红喜

README

上级 f9d87f66
......@@ -17,8 +17,9 @@ Hashes, HyperLogLogs, Bitmaps. https://redis.io http://redis.net.cn
- Spring Data’s mission is to provide a familiar and consistent, Spring-based programming model
for data access while still retaining the special traits of the underlying data store.
- SDR对Redis的标准模式和Cluster模式进行了充分封装,但并未对客户端sharding进行良好封装,需要开发者自己实现,
这也是SDR和Jedis相比,唯一缺少的特性。另外,Redis官网给出了一个Redis的Java客户端列表,SDR支持Jedis,
Lettuce ['lɛtɪs],Spring Boot 2.x默认使用Lettuce。
这也是SDR和[Jedis](https://github.com/xetorthio/jedis)相比,唯一缺少的特性。另外,Redis官网给出了一个
Redis的Java客户端列表,SDR支持Jedis, [Lettuce](https://github.com/lettuce-io/lettuce-core) ['lɛtɪs]
Spring Boot 2.x默认使用Lettuce。
- 早期Redis还没有Cluster特性,所以较早出现的Redis的Java客户端或Proxy大都自己实现了分片和集群功能,相比客户端分片,
SDR显然更提倡Cluster模式
- Jedis实例是线程不安全的,在多线程的环境下,需要使用连接池,每个线程都使用自己的Jedis实例,当连接数增多时,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册