Performance

Last updated: 2020-06-15 15:20:19

    Specifications

    Memory edition

    Feature Standard Architecture Cluster Architecture
    Compatible Redis version 2.8 4.0, 5.0 4.0, 5.0
    Memory 256 MB-60 GB 1-60 GB 12 GB-4 TB
    Number of shards Unsupported Unsupported 3-128
    QPS 80,000-100,000 80,000-100,000 80,000-100,000 per shard
    Max connections 10,000 10,000 10,000 per shard
    Traffic limit 10-64 MB/s 10-64 MB/s 72 MB/s-5 GB/s
    Multi-database Supported Supported Supported
    Mget, Mset Supported Supported Supported
    Lua Supported Supported Supported (cross-slot access not supported)
    Horizontal scaling Unsupported Unsupported Supported
    Replica scaling Unsupported Supported Supported
    Read/Write separation Unsupported Supported Supported
    GEO Unsupported Supported Supported
    Number of replicas 0-1 1-5 1-5

    The 256 MB specification is a limited introductory version. It is only suitable for functionality verification in test environments but not recommended for production environments. Other specifications currently cannot be scaled down to the 256 MB specification.

    CKV edition

    Feature Standard Architecture Cluster Architecture
    Compatible Redis version 3.2 3.2
    Memory 4-384 GB 12 GB-48 TB
    Number of shards - 3-128
    QPS 80,000–120,000 Tens of millions
    Max connections 12,000-24,000 12,000–24,000 per shard
    Traffic limit 16-256 MB/s 72 MB/s-32 GB/s
    Multi-database Supported Supported
    Mget, Mset Supported Supported
    Lua Supported Limited support (to use Lua in the cluster edition, you need to make sure that the keys accessed in the Lua script are in the same slot, and the `key` field must be included in the command parameters)
    Horizontal scaling Unsupported Supported
    Replica scaling Unsupported Unsupported
    Read/write separation Unsupported Unsupported
    GEO Supported Supported

    Traffic and Connections

    Memory edition

    Specification (GB) Max Connections Max Throughput (MB/s)
    0.25 3,000 10
    1 10,000 16
    2 10,000 24
    4 10,000 24
    8 10,000 24
    12 10,000 32
    16 10,000 32
    20 10,000 48
    24 10,000 48
    32 10,000 48
    40 10,000 64
    48 10,000 64
    60 10,000 64

    CKV edition

    Specification (GB) Max Connections Max Throughput (MB/s)
    4 10,000 24
    8 10,000 24
    16 10,000 32
    24 10,000 32
    32 10,000 32
    48 18,000 64
    64 18,000 64
    80 18,000 64
    96 18,000 64
    128 24,000 128
    160 24,000 128
    192 24,000 128
    256 24,000 256
    320 24,000 256
    384 24,000 256

    Cluster edition connections = number of connections per shard * number of shards;
    Cluster edition throughput = shard throughput * number of shards

    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. Please 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 (per shard) 10,000 80,000-100,000
    CKV edition (standard architecture), 8 GB 12,000 80,000-120,000
    • Cluster architecture test performance
      Memory edition (cluster architecture) performance = memory edition (standard architecture) performance * number of shards
      CKV edition (cluster architecture) performance = CKV edition (standard architecture) performance * number of shards

    Test method

    • Test environment
    Number of CVMs in the Pressure Test Client CVM Cores CVM MEM 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 3 pressure test clients (tested by redis-benchmark).

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help