Skip to content

Azure Redis Java sample summary

Warren Zhu edited this page Mar 7, 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 Not tested
Master slave recover Not tested, currently standard cluster won't work with MasterSlaveConnection, will investigate https://github.com/lettuce-io/lettuce-core/wiki/Master-Slave
Master slave connect Exception encountered use normal connection https://github.com/lettuce-io/lettuce-core/issues/728
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