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) 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.
|
Tair supports multiple flexible deployment architectures to meet different business scenarios.
Architecture type | Description |
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 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:
| |
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.
|
Get started
Create an instance: Create a Tair instance.
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?
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 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.