Tair (Redis OSS-compatible) is a database service compatible with Redis protocol standards. It uses an active-active, high-availability cluster architecture designed for high throughput, low latency, and elastic scaling.
Why choose Tair (Redis OSS-compatible)?
As a cloud-based service, Tair (Redis OSS-compatible) handles all infrastructure planning, network security, and system maintenance, freeing you to focus on business innovation.
Tair (Redis OSS-compatible) supports multiple data structures such as String, List, Set, Sorted Set, Hash, and Stream, as well as advanced features like transactions and Pub/Sub.
Building on Redis Open-Source Edition, Tair (Redis OSS-compatible) also provides Tair (Enterprise Edition) that offers instances using different storage media. You can select from DRAM-based, persistent memory-optimized, or ESSD/SSD-based instances.
For more information, see Comparison between Tair (Redis OSS-compatible) and self-managed Redis and Common scenarios.
Supported instance editions and architectures
Tair (Redis OSS-compatible) supports two instance editions: Redis Open-Source Edition and Tair (Enterprise Edition.
Instance edition | Description |
Redis Open-Source Edition | A high-performance in-memory database product compatible with Redis, supporting standard (master-replica), cluster, and read/write splitting architectures. |
Tair (Enterprise Edition) is an enhanced Redis service developed based on Redis Open-Source Edition, designed around the three core dimensions of access latency, persistence requirements, and overall cost. It offers a variety of product forms based on storage media such as dynamic random-access memory (DRAM), non-volatile memory (NVM), and enterprise SSDs (ESSDs) to provide better performance, more data structures, and more flexible storage methods to meet diverse business needs.
|
Tair (Redis OSS-compatible) supports flexible deployment architectures to meet diverse business needs.
Architecture | Description |
Data is synchronized in real time between the master node and the replica. If the master node fails, the system automatically fails over to the replica. The entire process is automatic and has no impact on your business, ensuring high availability (HA). | |
Cluster instances use a distributed architecture where each data shard supports master-replica failover. It automatically performs failover to ensure high availability. It also provides a variety of specifications, allowing you to choose the appropriate one based on your business load and freely scale as your business grows. Instances using the cluster architecture support two connection modes:
| |
Read/write splitting instances achieve high availability through a master-replica architecture. The master node mounts read replicas to achieve data replication and supports linear scaling of read performance. Read replicas can effectively mitigate performance issues caused by hot keys and are ideal for read-heavy workloads. Two versions of read/write splitting instances are available.
|
Get started
FAQ
What is the relationship between Tair (Redis OSS-compatible) and Redis?
Tair (Redis OSS-compatible) is a cloud-native, high-performance in-memory database that is fully compatible with the Redis protocol. Any client compatible with the Redis protocol can connect to Tair (Redis OSS-compatible) to store and retrieve data.
Additionally, Tair (Enhanced Edition) is an enhanced Redis service that offers a range of options including ultra-high performance and excellent cost-effectiveness. For more information, see Feature comparison between Tair (Enterprise Edition) and Redis Open-Source Edition.
Which Redis versions is Tair (Redis OSS-compatible) compatible with?
Tair (Enterprise Edition) DRAM-based instances that are compatible with Redis 7.0: Redis 7.0 and earlier. In addition, this instance series supports the extended data structures of Tair.
Tair (Enterprise Edition) DRAM-based instances that are compatible with Redis 6.0: Redis 6.2 and earlier. In addition, this instance series supports the extended data structures of Tair.
Tair (Enterprise Edition) DRAM-based instances that are compatible with Redis 5.0: Redis 5.0 and earlier. In addition, this instance series supports the extended data structures of Tair.
Tair (Enterprise Edition) persistent memory-optimized instances: Redis 6.0 and earlier. This instance series has limits on specific commands. For more information, see Limits on commands supported by Tair (Enterprise Edition).
Tair (Enterprise Edition) ESSD/SSD-based instances: Redis 6.0 and earlier. This instance series has limits on specific commands. For more information, see Limits on commands supported by Tair (Enterprise Edition).
Redis Open-Source Edition instances: Redis 7.0, 6.0, 5.0, and 4.0. These instances provide backward compatibility.
Which Redis commands and operations does Tair (Redis OSS-compatible) support?
Tair (Redis OSS-compatible) is compatible with most commands and operations from open-source Redis, with only a few commands disabled. For details, see the following topics:
Does Tair (Redis OSS-compatible) have limits on CPU, bandwidth, and connections?
Yes. The CPU performance, network bandwidth, and maximum number of connections for a Tair (Redis OSS-compatible) instance are primarily determined by its edition and architecture (standard or cluster). Within the same type and architecture, the main difference between instance specifications is memory capacity, while other performance metrics vary only slightly. For detailed performance metrics for each specification, see Instance specifications.
Does Tair (Redis OSS-compatible) support data persistence?
Yes. Tair (Redis OSS-compatible) uses both memory and disk to store data. It saves data to disk by using AOF and RDB persistence policy.
Can I modify parameters for a Tair (Redis OSS-compatible) instance?
Yes. For more information, see Set parameters.