Redis Java-based Client SDK collection

Source: Internet
Author: User

If you want to find this kind of SDK, the first reaction should go straight to the official website, find out what is recommended. First find the most authoritative answer, can not find another attempt to private programs.

As far as Redis is concerned, the official has provided a list of the most available languages of the SDK, you can refer to the following URL to see Java supported SDK

Https://redis.io/clients#java

As of this form, as of today, the future is likely to increase.

If you search for Redis based Java client, the most is Jedis, this is very fire on GitHub. The remaining two clients are listed below, and on GitHub are all with very detailed wiki documentation. It is also the official recommendation of several clients.

  1. Jedis:https://github.com/xetorthio/jedis/wiki
  2. Iettuce:https://github.com/lettuce-io/lettuce-core/wiki
  3. Redisson:https://github.com/redisson/redisson/wiki

Because of the historical reasons for Redis, clusters are not supported in the early stages, so these clients each implement the Shard and cluster functionality, which can be done through the relevant wiki.

These clients can also be integrated with spring, and the authorities also provide examples. Although a Redis-based library is also available in spring, the business needs to weigh its own performance to choose.

For use I recommend encapsulating the generic part as a uniform method, at least so that the next time the library is replaced, the business code can be used without modification.

Redis Java-based Client SDK collection

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.