Introducing Read/Write Splitting

Read/write splitting enables read and write requests to be automatically routed through a proxy address. You can create a proxy instance by referring to Creating a Proxy Instance after read replicas are created. Thanks to the IP address of the proxy instance, write requests are automatically routed to the primary node and read requests are routed to read replicas and the primary node by user-defined weights.

Constraints

Scenarios

When enabling read/write splitting for an instance, you need to select the nodes (including the primary node and read replicas) to be associated to the proxy instances.

Figure 1 Multiple proxy instances