This topic compares the features of ApsaraDB for Redis Enhanced Edition (Tair) and Community Edition to help you choose an instance type that meets your business requirements.
Features and scenarios of each series type
Edition | Series type | Feature | Scenario |
Enhanced Edition (Tair) |
| Performance-centric business scenarios | |
| Data caching and storage scenarios that require high performance and high data persistence, and can bear high costs | ||
| Data storage scenarios that require a large capacity and low costs, involve only infrequent data access, and can bear high access latency | ||
Community Edition | N/A | Community Edition instances are compatible with open source Redis and provide high performance. | Standard Redis usage and data migration scenarios |
For more information about instance selection, see Instructions for selecting an appropriate ApsaraDB for Redis instance.
Feature comparison
In the following table, ️️✔️ indicates that this feature is supported, and ❌ indicates that this feature is not supported.
Category | Item | ApsaraDB for Redis Enhanced Edition (Tair) | ApsaraDB for Redis Community Edition | |||||
Instance that runs Redis 2.8, 4.0, or 5.0 | Instance that runs Redis 6.0 or 7.0 | Cost-effective instance that runs Redis 5.0 or 6.0 | ||||||
Baseline performance | Performance benchmark (based on Community Edition) | 300% | 90% | Read: 40% | Read: 60% | Same | 120% | 120% |
Write: 30% | Write: 40% | |||||||
Maximum number of connections to each data node | 30,000 | 10,000 | 10,000 | 40,000 | 10,000 | 10,000 | 10,000 | |
Service capability of a single key (QPS reference value] ① | 450,000 | 130,000 | 30,000 to 60,000 | 50,000 to 60,000 | 140,000 | 160,000 | 160,000 | |
Maximum bandwidth (Mbit/s) | 96 to 2,048 | 96 to 2,048 | 187.5 to 1,000 | 187.5 to 2,048 | 10 to 2,048 | 48 to 2,048 | 96 to 2,048 | |
Specifications | I/O and worker models | Multiple I/O threads + Single worker thread (Real Multi-I/O) ③ | Single I/O thread + Single worker thread | Multiple I/O threads + Multiple worker threads (Real Multi-I/O) | Multiple I/O threads + Multiple worker threads (Real Multi-I/O) | Single I/O thread + Single worker thread | Multiple I/O threads + Single worker thread | Multiple I/O threads + Single worker thread |
Cost per unit (based on Community Edition) | 117% | 70% | 15% to 20% | 15% | Same | Same | 51% to 67% | |
Data structures | Basic data structures and supported commands | Different types of instances support different commands. For more information, see Limits on commands supported by ApsaraDB for Redis Enhanced Edition (Tair). | For more information about the commands that are not supported, see Commands supported by ApsaraDB for Redis Community Edition. | |||||
✔️ | ️✔️️️ ️️️️️️(integration with specific Redis modules) | ❌ | ❌ | ❌ | ❌ | ❌ | ||
Data persistence | Master-replica replication consistency | Eventual consistency | Eventual consistency | Eventual consistency | Eventual consistency | Eventual consistency | Eventual consistency | Eventual consistency |
Persistent data consistency ④ | Write Back | Write Through | Write Through | Write Through | Write Back | Write Back | Write Back | |
Persistence level | Within seconds | Command-level | Command-level | Command-level | Within seconds | Within seconds | Within seconds | |
Security | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | |
✔️ | ✔️ | ❌ | ❌ | ✔️ | ✔️ | ✔️ | ||
✔️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ||
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ||
Performance analysis | ✔️ | ✔️ | ❌ | ❌ | ✔️ | ✔️ | ✔️ | |
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ||
✔️ | ✔️ | ❌ | ❌ | ✔️ | ✔️ | ✔️ | ||
Advanced features | ✔️ | ✔️ | ❌ | ❌ | ❌ | ❌ | ❌ | |
✔️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ||
✔️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ||
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ||
✔️ | ✔️ | ✔️ | ❌ | ❌ | ❌ | ❌ |
The following points illustrate each numeric label:
①: The queries per second (QPS) reference value is measured by a command with a time complexity of O(1). The higher the time complexity, the lower the QPS reference value.
②: This metric is related to the distribution of cold and hot data that is accessed. A higher hit rate on memory indicates that the instance provides the performance closer to that of a Community Edition instance.
③: Different from the multi-threading model of Community Edition 6.0, the Real Multi-I/O model of DRAM-based instances provides fully accelerated I/O threads to support connections and linearly increases throughput.
④: Tair uses the following methods to store data:
Write Through: writes data directly to disks and returns a success response.
Write Back: writes data to the cache, returns a success response, and then writes the data to disks.