All Products
Search
Document Center

Tair (Redis® OSS-Compatible):What is Tair (Redis OSS-compatible)?

Last Updated:Sep 08, 2025

Tair (Redis OSS-compatible) is a database service that is compatible with the Redis protocol. It is based on active-active and cluster architectures and meets business requirements for high throughput, low latency, and elastic scaling.

Why choose Tair (Redis OSS-compatible)?

  • Alibaba Cloud deploys the hardware in the cloud and provides infrastructure planning, network security, and system maintenance. This lets you focus on business innovation.

  • Tair supports multiple data structures, such as strings, linked lists, sets, sorted sets, hash tables, and streaming data. It also supports advanced features, such as transactions and publish/subscribe (Pub/Sub).

  • Tair (Enterprise Edition) is an in-memory database product developed based on Redis Open-Source Edition. You can select from memory-optimized, persistent memory-optimized, or disk-based instances.

For more information, see Comparison with self-managed Redis and Scenarios.

Supported instance types and architectures

Tair supports three instance types: Redis Open-Source Edition, Tair (Enterprise Edition), and Tair Serverless KV.

Instance type

Description

Redis Open-Source Edition

A high-performance in-memory database product that is compatible with Redis. It supports architectures such as standard (primary-replica), cluster, and read/write splitting.

Tair (Enterprise Edition)

Tair (Enterprise Edition) is an enhanced Redis service developed based on Redis Open-Source Edition. Based on storage media such as dynamic random-access memory (DRAM), non-volatile memory (NVM), and enterprise SSDs (ESSDs), Tair offers various product forms that consider the three core dimensions of access latency, persistence requirements, and overall cost. Tair provides stronger performance, more data structures, and more flexible storage methods to meet business requirements in different scenarios.

  • Memory-optimized: Uses a multi-threaded model, integrates some features of Alibaba's Tair, and supports multiple Tair data structures. It is highly suitable for specific business needs.

  • Persistent memory-optimized: Based on persistent memory technology, it provides a large-capacity, Redis-compatible, in-memory database product. Data persistence does not rely on traditional disks. It ensures the persistence of each operation while providing throughput and latency close to Redis Open-Source Edition, greatly improving business data reliability.

  • Disk-based: Developed based on ESSDs and SSDs, it is compatible with core Redis data structures and interfaces. The cost is as low as 15% of Redis Open-Source Edition, and the performance is about 60% of Redis Open-Source Edition. It can provide large-capacity, low-cost, and highly persistent database services. It is suitable for warm and cold data storage scenarios that require Redis compatibility, large capacity, and high access performance.

Tair supports multiple flexible deployment architectures to meet different business scenarios.

Architecture type

Description

Standard architecture

Data is synchronized from the primary node (Master) to the replica (Replica) in real time. If the primary node fails, the system quickly switches services to the replica node. The entire process is automatic and does not affect your business, ensuring high service availability.

Cluster architecture

Cluster instances use a distributed architecture. Each data shard supports primary/secondary failover (master-replica), which enables automatic disaster recovery and fault migration to ensure high service availability. Multiple instance types are available. You can select an instance type based on your business workload and freely upgrade or downgrade the instance type as your business grows. The cluster architecture supports two connection modes:

  • Proxy mode (recommended): Provides intelligent connection management to reduce application developer costs.

  • Direct connection mode: Allows clients to bypass proxy servers and directly access backend data shards. This reduces network overhead and service response time. This mode is suitable for businesses that require extremely high Redis response speeds.

Read/write splitting

Read/write splitting instances use a primary-replica (Master-Replica) architecture to achieve high availability. The primary node attaches read replicas (Read Replica) to replicate data and supports linear scaling of read performance. Read replicas can effectively mitigate performance issues caused by hot keys and are suitable for business scenarios with high read/write ratios. Two versions of read/write splitting instances are available.

  • Read/write splitting (cloud-native edition): Read-only nodes synchronize data from the primary node in a star replication architecture. You can customize the number of read-only nodes (1 to 4 per shard for cluster architecture, 1 to 9 for standard architecture). This is suitable for large-scale business scenarios with high read/write ratios.

  • Read/write splitting (classic edition, discontinued): Read-only nodes use a chained replication architecture. You can configure 1, 3, or 5 read-only nodes.

Get started

FAQ

What is the relationship between Tair and Redis?

Tair (Redis OSS-compatible) is a cloud-native, high-performance, in-memory database that is fully compatible with the Redis protocol. Any Redis-compatible client can connect to Tair (Redis OSS-compatible) to store and manage data.

In addition, Tair (Enterprise Edition) is an enhanced Redis service that offers options such as ultra-high performance and cost-effectiveness. For more information, see Comparison of features between Tair (Enterprise Edition) and Redis Open-Source Edition.

Which Redis versions is Tair compatible with?

Which Redis commands and operations is Tair compatible with?

Tair (Redis OSS-compatible) supports most commands and operations of Redis Open-Source Edition. Only a few commands are disabled. For more information, see the following topics:

Does Tair have limits on CPU, bandwidth, and connections?

Yes, it does. The CPU processing power, network bandwidth, and maximum connections of a Tair (Redis OSS-compatible) instance depend on its instance type and architecture (such as cluster or non-cluster). For the same instance type and architecture, specifications primarily differ in memory capacity, with minor variations in other performance metrics. You can view the specific performance of each instance type in Instance types.

Does Tair support data persistence?

Yes, it does. Tair (Redis OSS-compatible) uses a combination of memory and disks to store data. It uses Append-Only File (AOF) and Redis Database (RDB) persistence policies to save Tair data to disks.

Can I modify configuration parameters in Tair?

Yes, you can. For more information, see Configure parameters.