Supports Read/Write Splitting in Global Database Network.
Jul 01 2020
Content
Target customers: global users of PolarDB for MySQL who need to deploy databases and applications around the world. Features released: All PolarDB for MySQL clusters in GDN now support read/write splitting. When applications send requests to databases in a local cluster, GDN forwards read requests to the secondary cluster in the same region as the applications, and forwards write requests to the primary cluster in the central region. You can use GDN to easily build an application architecture in global regions without modifying application code to split read and write requests. For example, the ECS-1 instance and the primary cluster are deployed in the China (Beijing) region, the ECS-2 instance and the read-only cluster are deployed in the US (Silicon Valley) region. Before this feature is released, applications in ECS-1 and ECS-2 instances can only write data to the primary cluster in the China (Beijing) region. Based on read/write splitting, applications in the ECS-2 instance now can directly write data to the local read-only cluster. PolarDB for MySQL processes read requests in the same region as the applications, and forwards write requests to the primary cluster in the China (Beijing) region.