tencent cloud

All product documents
TencentDB for Redis®
Performance
Last updated: 2024-11-05 10:05:51
Performance
Last updated: 2024-11-05 10:05:51

Specifications

Memory edition

Note:
As a trial version, the 256 MB specification on v4.0 or v5.0 is only suitable for product verification in testing environments. We don't recommend that you use it in production environments. It is available only in the following AZs: Guangzhou (Zones 6 and 7), Shanghai (Zones 2, 3, 4 and 5), Beijing (Zones 1, 2, 3, 4, 5, 6, and 7), and Shenzhen Finance (Zones 1, 2, and 3). Other 1 GB and above specifications can be smoothly downgraded to the 256 MB specification.
v2.8 is unavailable currently, and v4.0 or later is recommended. To purchase v2.8, submit a ticket.
Feature
Standard Architecture
Cluster Architecture
Compatible Redis version
2.8
4.0, 5.0
6.2, 7.0
4.0, 5.0
6.2, 7.0
Compatible with Memcached
Edition 1.6
Memory specification
256 MB–64 GB
256 MB–64 GB
1 GB–64 GB
2 GB–8 TB
Shard quantity
Not supported
1, 3, 5, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96, 128
QPS
80,000–100,000
80,000–100,000
80,000–100,000
80,000–100,000/shard
Maximum number of connections
10,000 by default; up to 40,000
10,000 by default; up to 40,000
10,000/shard by default; up to 40,000/shard
Traffic limit
10 MB/s–64 MB/s
528 MB/s–608 MB/s
288 MB/s–72 GB/s
Multi-database
Supported
Supported
Supported
Supported
Mget and Mset
Supported
Supported
Supported
Supported
Lua
Supported
Supported
Supported (cross-slot access not supported)
Supported (cross-slot access not supported)
Horizontal scaling
Not supported
Not supported
Supported
Supported
Replica scaling
Not supported
Supported
Supported
Supported
Read/Write separation
Not supported
Supported
Supported
Supported
GEO
Not supported
Supported
Supported
Supported
Replica quantity
1
1–5

Description of the CPU core quantity

To ensure the stable operations of the system, each node is assigned with 2-core CPU, one of which is used to process the backend tasks.

Traffic and connections

Memory edition

Specification (GB)
Maximum number of connections
Maximum throughput (MB/s)
0.25
3,000
10
1
40,000
16
2
40,000
24
4
40,000
24
8
40,000
24
12
40,000
32
16
40,000
32
20
40,000
48
24
40,000
48
32
40,000
48
40
40,000
64
48
40,000
64
64
40,000
64
Cluster edition connections = number of connections per shard * number of shards;
For information on Cluster Edition throughput, see Bandwidth Adjustment.
Note:
After scaling, legacy instances capable of up to 9,000 connections will be capable of 10,000 connections.

Performance Data

Performance references

The time needed to execute Redis commands varies. Businesses use different database commands in their production environments; therefore, the corresponding performance values will also vary. The test results listed here are obtained with specified parameters and are for your reference only. Conduct tests in your actual business environment for more accurate results.

Single-node test performance

Redis Instance Specification
Connections
QPS
Memory Edition (Standard Architecture) 8 GB
10,000
80,000–100,000
Memory Edition (Cluster Architecture) 8 GB (single-shard)
10,000
80,000–100,000

Cluster architecture test performance

Memory Edition (Cluster Architecture) performance = Memory Edition (Standard Architecture) performance * number of shards

Test method

Test environment

Test Client CVM Instances
CVM Cores
CVM Memory
Region
Redis Instance Specification
3
2
8 GB
Guangzhou Zone 2
Memory Edition (Standard Architecture) 8 GB
3
2
8 GB
Guangzhou Zone 2
CKV Edition (Standard Architecture) 8 GB

Test parameters

redis-benchmark -h 10.66.187.x -p 6379 -a crs-1znib6aw:chen2016 -t set -c 3500 -d 128 -n 25000000 -r 5000000
redis-benchmark -h 10.66.187.x -p 6379 -a crs-1z5536aw:chen2016 -t set -c 3500 -d 128 -n 25000000 -r 5000000
redis-benchmark -h 10.66.187.x -p 6379 -a crs-090rjlih:1234567 -t set -c 3500 -d 128 -n 25000000 -r 5000000

QPS calculation

Sum of the QPS values of three pressure test clients (tested by redis-benchmark).
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support