All Products
Search
Document Center

ApsaraDB for Redis:Notice on Jedis update

Last Updated:Jun 05, 2023

Jedis is a popular Java client that is used to connect to Redis databases. Recently, the Jedis community has made a major bug fix and an optimization for the client. We recommend that you update your Jedis client.

Jedis 3.10.0

Jedis 3.10.0 comes with the following bug fix and optimization:

  • Bug fix: When you access an instance of ApsaraDB for Redis by using its domain name in JedisCluster mode, Jedis can now connect to the instance even if the Domain Name System (DNS) mapping changes. For more information, visit GitHub.

  • Optimization: When Jedis is disconnected from an instance, Jedis no longer sends the QUIT command. This prevents a spike in the number of connections for the instance. For more information, visit GitHub.

Version recommendations

  • Jedis 4.x.x: Update the client to Jedis 4.4.0 or later.

  • Jedis 2.x.x and Jedis 3.x.x: Update the client to Jedis 3.10.0 or later.

References