All Products
Search
Document Center

Tair:Overview

Last Updated:Dec 19, 2023

Tair provides multiple editions, series types, and architectures. This topic describes different types of instances and provides links to the relevant references.

Series type

Description

DRAM-based instance

DRAM-based instances use the multi-threading model. A DRAM-based instance provides approximately three times the read and write performance of a Community Edition instance with the same specifications.

  • If the instance uses the standard architecture, the instance provides up to 64 GB of memory and supports up to approximately 300,000 queries per second (QPS).

  • If the instance uses the read/write splitting architecture, the instance provides up to 64 GB of memory and supports up to approximately 1,800,000 QPS.

  • If the instance uses the cluster architecture, the instance provides up to 16,384 GB (64 GB × 256 data shards) of memory and the instance performance is calculated by using the following formula: Number of data shards × Performance per data shard. The performance of each data shard is determined by the shard specifications.

DRAM-based instances support the local disk-based deployment mode.

  • Standard master-replica architecture: uses the multi-threading model and provides approximately three times the performance of a Community Edition instance with the same specifications. Each instance provides up to 64 GB of memory and supports up to approximately 240,000 QPS.

  • Read/write splitting architecture: uses the multi-threading model, runs in the master-replica architecture, and consists of a master node and one or more read replicas. A read/writing splitting instance provides approximately three times the performance of a Community Edition instance with the same specifications. Each instance provides up to 64 GB of memory and supports up to approximately 1,440,000 QPS.

  • Cluster architecture: uses the multi-threading model and provides approximately three times the performance of a Community Edition instance with the same specifications. Each data shard uses the master-replica architecture. Each instance provides up to 4,096 GB (16 GB × 256 data shards) of memory and supports up to approximately 61,440,000 QPS. This maximum QPS value is for reference only.

Persistent memory-optimized instance

The instance does not use disks to implement data persistence. The instance provides almost the same performance as a Community Edition instance in terms of throughput and latency while persisting each operation. A standard persistent memory-optimized instance is only about 70% the price of a Community Edition instance.

  • If the instance uses the standard architecture, the instance provides up to 64 GB of memory and supports up to approximately 100,000 QPS.

  • If the instance uses the read/write splitting architecture, the instance provides up to 64 GB of memory and supports up to approximately 600,000 QPS.

  • If the instance uses the cluster architecture, the instance provides up to 16,384 GB (64 GB × 256 data shards) of memory and the instance performance is calculated by using the following formula: Number of data shards × Performance per data shard. The performance of each data shard is determined by the shard specifications.

ESSD-based instance

An ESSD-based instance runs in the master-replica architecture. The instance reduces up to 85% of costs compared with a Community Edition instance. The instance is suitable for the storage of warm and cold data and scenarios that require compatibility with Redis, large capacity, and high access performance. Each instance provides up to 192 GB of memory and has a standard storage capacity of up to 6,150 GB.

FAQ

  • Do I need to reserve memory for snapshots when I select specifications?

    No, you do not need to reserve memory for snapshots when you select specifications. Tair is sold at the instance level. The memory capacity of each specification type is the maximum memory that is available to you. The memory capacity includes the memory occupied by user data, the static memory consumed by your instance, and the memory occupied by network connections.

  • Each specification type has a maximum QPS value. What happens if the QPS of an instance exceeds the maximum value?

    This may cause an accumulation of requests. If the QPS reference value is exceeded for an extended period of time, we recommend that you choose higher specifications. For more information, see Change the configurations of an instance.

  • How do I check the specifications of an ApsaraDB for Redis instance by using InstanceClass?

    You can enter the value of InstanceClass in the search box in the upper part of an Alibaba Cloud document to search for the specifications.

  • How do I test the performance of Tair instances?

    You can test the performance of Tair instances by using the methods that are described in the performance whitepaper. For more information, see Performance whitepaper of Redis 5.0-compatible Tair DRAM-based instances.