Skip to content

Azure Redis Java sample summary

Warren Zhu edited this page Mar 8, 2018 · 3 revisions

Java Redis sample

Jedis

Feature Status Workaround Issue
JedisPool Recover Tested, taking 1 second
JedisCluster Recover Tested, Could take at most (maxAttempts + 1) * connnectTimeout when failover happens, recreating won't help Setting maxAttempts as small value https://github.com/xetorthio/jedis/issues/1767
JedisCluster SSL Unsupported No https://github.com/xetorthio/jedis/pull/1550

Lettuce

Feature Status Workaround Issue
Single node recover Reconnection is transparent, even no exception is thrown
Master slave recover Reconnection is transparent, even no exception is thrown
Cluster recover LB is considered as one node, causing lots of MOVED response in multi-shard cluster, recreating won't help No https://github.com/lettuce-io/lettuce-core/issues/712
Clone this wiki locally