Help Center/ Distributed Cache Service/ Performance White Paper/ Test Data of Redis Backup, Restoration, and Migration
Updated on 2022-09-15 GMT+08:00

Test Data of Redis Backup, Restoration, and Migration

Test Environment

  • Redis instance specifications

    Redis 5.0 | 8 GB | master/standby

    Redis 5.0 | 32 GB | master/standby

    Redis 5.0 | 64 GB | Proxy Cluster (2 replicas | 8 shards | 8 GB per shard)

    Redis 5.0 | 256 GB | Proxy Cluster (2 replicas | 32 shards | 8 GB per shard)

    Redis 5.0 | 64 GB | Redis Cluster (2 replicas | 8 shards | 8 GB per shard)

    Redis 5.0 | 256 GB | Redis Cluster (2 replicas | 32 shards | 8 GB per shard)

  • ECS flavors

    c6s.large.2 2 vCPUs | 4 GB

Test Command

Run the following command on a 256 GB Proxy Cluster instance:

redis-benchmark - h {IP} -p{Port} -n 10000000 -r 10000000 -c 10000 -d 1024

Run the following command on a 256 GB Redis Cluster instance:

redis-benchmark - h {IP} -p{Port} -n 10000000 -r 10000000 -c 40000 -d 1024 -c

Test Result

Table 1 Migration

Source Instance Type

Source Instance Specifications (GB)

Target Instance Type

Target Instance Specifications (GB)

Migration Type

Data Volume (GB)

Duration (min)

Redis 5.0 | master/standby

8

Redis 5.0 | master/standby

8

Full + incremental

7.78

3

Redis 5.0 | master/standby

32

Redis 5.0 | master/standby

32

Full + incremental

31.9

17

Redis 5.0 | Proxy Cluster

64

Redis 5.0 | Proxy Cluster

64

Full + incremental

62.42

7

Redis 5.0 | Redis Cluster

64

Redis 5.0 | Redis Cluster

64

Full + incremental

57.69

6

Redis 5.0 | Proxy Cluster

256

Redis 5.0 | Proxy Cluster

256

Full + incremental

241.48

23

Redis 5.0 | Redis Cluster

256

Redis 5.0 | Redis Cluster

256

Full + incremental

240.21

22

Table 2 Backup

Instance Type

Instance Specifications (GB)

Backup Mode

Data Volume (GB)

Duration (min)

Redis 5.0 | master/standby

8

RDB

7.78

2

Redis 5.0 | master/standby

32

RDB

31.9

5

Redis 5.0 | Proxy Cluster

64

RDB

62.42

9

Redis 5.0 | Proxy Cluster

256

RDB

241.48

37

Redis 5.0 | Redis Cluster

64

RDB

57.69

9

Redis 5.0 | Redis Cluster

256

RDB

255

39

Redis 5.0 | master/standby

8

AOF

7.9

2

Redis 5.0 | master/standby

32

AOF

31.15

10

Redis 5.0 | Proxy Cluster

64

AOF

62.42

20

Redis 5.0 | Proxy Cluster

256

AOF

241.48

48

Redis 5.0 | Redis Cluster

64

AOF

57.69

19

Redis 5.0 | Redis Cluster

256

AOF

255

51

Table 3 Restoration

Instance Type

Instance Specifications (GB)

Restoration Mode

Data Volume (GB)

Duration (min)

Redis 5.0 | master/standby

8

RDB

7.9

2

Redis 5.0 | master/standby

32

RDB

31.15

6

Redis 5.0 | Proxy Cluster

64

RDB

62.42

10

Redis 5.0 | Proxy Cluster

256

RDB

246

42

Redis 5.0 | Redis Cluster

64

RDB

57.69

10

Redis 5.0 | Redis Cluster

256

RDB

255

40

Redis 5.0 | master/standby

8

AOF

7.9

3

Redis 5.0 | master/standby

32

AOF

31.15

10

Redis 5.0 | Proxy Cluster

64

AOF

62.42

10

Redis 5.0 | Proxy Cluster

256

AOF

246

46

Redis 5.0 | Redis Cluster

64

AOF

57.69

10

Redis 5.0 | Redis Cluster

256

AOF

255

43