Help Center/ Distributed Cache Service/ FAQs/ Feature/ What Are the CPU Specifications of DCS Instances?
Updated on 2024-06-20 GMT+08:00

What Are the CPU Specifications of DCS Instances?

Redis Basic Edition

When using DCS for Redis basic edition, you only need to pay attention to critical indicators such as QPS, bandwidth, and memory. You do not need to be concerned about CPU specifications.

DCS for Redis basic edition is based on open-source Redis. Open-source Redis uses a single main thread to process commands, so only one CPU core is used on each Redis node. Increasing the memory of DCS Redis basic edition instances does not change CPU specifications.

Due to this restriction, you can use a cluster instance and add shards to achieve higher CPU performance. Each node in a cluster uses one vCPU by default.

Redis Professional Edition

The professional edition DCS for Redis is multi-threaded. For details about the threads, see Table 1. Maximum CPU usage = Number of threads × 100%. For example, if the number of threads is 3, the maximum CPU usage is 300%.

Table 1 Number of threads of professional edition Redis

Instance Memory

Thread Quantity of Professional (Performance) Edition Master/Standby Instances

Thread Quantity of Professional (Storage) Edition Master/Standby Instances

8 GB

3

3

16 GB

4

6

32 GB

4

7

64 GB

4

-