By using ApsaraDB for RDS to implement read/write splitting, which of the following can be achieved?
(Number of correct answers 2)
Correct Answer: B,C
ApsaraDB for RDS is a stable and reliable online database service that supports MySQL, SQL Server, PostgreSQL, MariaDB, and PPAS. ApsaraDB for RDS provides a read/write splitting feature that allows you to create read-only RDS instances, which can offload read requests from the primary RDS instance of your database system1. Read/write splitting is implemented by using a dedicated proxy endpoint, which routes read and write requests to different RDS instances based on the SQL statements and the read weights of the read- only instances2. By using ApsaraDB for RDS to implement read/write splitting, you can achieve the following benefits21:
* Read requests are distributed to multiple instances. This can improve the read performance and availability of your database system, as well as balance the load among the read-only instances. You can specify the read weights of the read-only instances to control the distribution of read requests.
* Read/write requests to the database are separated. This can reduce the pressure on the primary RDS instance and ensure the stability and security of the write operations. You only need to connect to the proxy endpoint, and the proxy will automatically route the read and write requests to the appropriate RDS instances.
The other statements are not correct, as write requests are not distributed to multiple instances, but only sent to the primary RDS instance2; and both read and write requests are not distributed to multiple instances, but separated by the proxy endpoint2. References: [ApsaraDB for RDS - Alibaba Cloud], Read/write splitting - - Alibaba Cloud Documentation Center, Use the read/write splitting feature to increase the processing capability of an ApsaraDB RDS instance