DCS Redis Help Documentation

Differences among Instance Types

2024-05-22 09:39:40

Redis stand-alone, active/standby, read-write splitting, proxy cluster and cluster instances are different in supported features, feature restrictions and command restrictions. Please see the following table for details.

Comparison Items

Stand-alone and active/standby

Proxy cluster

Cluster

Compatible Redis Versions

Totally compatible with open-source Redis v2.8, v4.0, v5.0, v6.0 and v7.0.You can select a version when purchasing an instance.

Compatible with open-source Redis v2.8, v4.0 and v5.0. There are some command restrictions. Please see the command restrictions.

Totally compatible with open-source RedisCluster v6.0 and v7.0. You can select a version when purchasing an instance.

Supported Features and Restrictions

Fully supports the open-source stand-alone and active/standby deployment.

A proxy cluster supports architecture conversion and supports open-source stand-alone and active/standby instances, but there are restrictions on the use of certain commands. See Restricted Redis Commands for Instances.

The cluster fully supports the usage features of the open-source RedisCluster. The RedisCluster key used for business needs to be within the unified slot range, and when using commands such as event notify, scan, keys, etc., a connection needs to be established with each shard to obtain the request result.

Client Protocol

Just use the traditional Jedis client.

Just use the traditional Jedis client and do not need to support the Redis Cluster protocol.

The client needs to support the Redis Cluster protocol.

Command Restrictions

For unsupported Redis commands, see Open-Source Command Compatibility.

For unsupported Redis commands, see Open-Source Command Compatibility. For restricted commands for proxy cluster instances, see Restricted Redis Commands for Instances.

Cluster instances 100% support open-source cluster commands.

Number of Replicas

A stand-alone instance has a single replica and only one node. A single replica means that the instance only has the active node, which cannot guarantee high data reliability. An active/standby instance has dual replicas by default with a default architecture consisting of one leader node and one follower node. Dual-replica instances support HA switchover

A proxy single-node cluster instance has a single replica and only one node. A proxy active/standby cluster instance has dual replicas by default with a default architecture consisting of one leader node and one follower node.

A single-node cluster instance has a single replica and only one node. An active/standby cluster instance has dual replicas by default with a default architecture consisting of one leader node and one follower node.


iBeLqzOJbYH7