All Products
Search
Document Center

ApsaraDB for Redis:ApsaraDB for Redis Clients

Last Updated:Aug 01, 2023

ApsaraDB for Redis is fully compatible with open source Redis. You can choose an SDK that is compatible with Redis based on your business requirements. ApsaraDB for Redis also provides TairJedis to allow you to use Redis data structures without having to write specific code for each data structure. TairJedis is a dedicated client for ApsaraDB for Redis Enhanced Edition (Tair) that is developed in-house by Alibaba Cloud based on the Jedis client.

ApsaraDB for Redis

ApsaraDB for Redis is fully compatible with open source Redis. You can connect to ApsaraDB for Redis instances almost in the same manner that you connect to native Redis databases. You can use a Redis-compliant client based on your business requirements.

For more information, see Use a client to connect to an ApsaraDB for Redis instance.

ApsaraDB for Redis Enhanced Edition (Tair)

To facilitate the use of extended data structures of Tair, Tair clients are developed on top of specific Redis clients. You can use the Tair clients to call the extended data structures of Tair.

Tair client

Description

TairJedis

A Tair client developed based on Jedis.

AlibabaCloud.TairSDK

A Tair client developed based on .NET Core 5.0 and StackExchange.Redis 2.5.61.

Tair-go

A Tair client developed based on go-redis.

Tair-py

A Tair client developed based on redis-py.

For more information, see Use a client to connect to a Tair instance.

Usage notes

Each client has specific errors and troubleshooting methods. We recommend that you search for errors in the official documentation of your client for troubleshooting.

Alibaba Cloud collects common errors that you may encounter when you use clients. For more information, see Common Errors and Troubleshooting.