Help Center/ Distributed Cache Service/ FAQs/ Client and Network Connection/ Is the Read-only Address of a Master/Standby Instance Connected to the Master or Standby Node?
Updated on 2024-09-30 GMT+08:00

Is the Read-only Address of a Master/Standby Instance Connected to the Master or Standby Node?

A basic edition master/standby DCS Redis 4.0 or later instance has a Connection Address and a Read-only Address. The connection address is used to connect to the master node of the instance, and the read-only address is used to connect to the standby node of the instance.

For details, see Architecture of Master/Standby DCS Redis 4.0/5.0/6.0 Basic Instances.

Figure 1 Instance addresses

By default, the client reads and writes data on the master node. Data is synchronized to the standby node. To implement read/write splitting, ensure that your client can distinguish between read and write requests. The client directs write requests to the read/write domain name and read requests to the read-only domain name.