A media company hosts a popular news portal on AWS. The portal's database tier consists of an Amazon RDS for MySQL DB instance. During breaking news events, the portal experiences a massive surge in read traffic, causing high CPU utilization on the database and slow page loading times for readers. Writes to the database remain low. Which architectural modification should a solutions architect recommend to resolve the read performance bottleneck?
- Create one or more Amazon RDS Read Replicas and configure the application to route read queries to the replica endpoints.Answer
- BEnable a Multi-AZ deployment for the Amazon RDS DB instance and configure the application to load balance read queries between the primary and standby instances.
- CMigrate the database to Amazon DynamoDB and use the article publication date as the partition key for the table.
- DMigrate the database to Amazon DynamoDB and configure it in Provisioned Capacity mode with auto-scaling to handle the sudden spikes.
Answer
Create one or more Amazon RDS Read Replicas and configure the application to route read queries to the replica endpoints.
Creating one or more Amazon RDS Read Replicas and routing read queries to them allows the application to offload the read-heavy workload from the primary DB instance. This effectively reduces CPU utilization on the primary instance and resolves the performance bottleneck with minimal architectural changes.
Step-by-Step Solution
Key Concept
Scaling read performance in relational databases using Amazon RDS Read Replicas.
Estimated Time:50s