A solutions architect is designing a database strategy for an online application that uses an Amazon RDS for MySQL database. The database experiences sudden spikes in read query volume, which degrades performance. The solutions architect needs to offload this read traffic and allow the database to scale horizontally. Which of the following designs represents the correct and most efficient database strategy to scale read capacity?
- AConfigure Amazon RDS Multi-AZ and direct all read traffic to the standby instance in the secondary Availability Zone.
- Migrate the database to Amazon Aurora MySQL and configure Aurora Auto Scaling to dynamically scale the number of Aurora Replicas based on read load.Answer
- CDeploy Amazon ElastiCache for Memcached, enabling its persistence and multi-AZ replication features to store and serve the relational query results.
- DImplement a secondary database in another AWS Region using a pilot light disaster recovery model to handle the read query spikes.
Answer
Migrate the database to Amazon Aurora MySQL and configure Aurora Auto Scaling to dynamically scale the number of Aurora Replicas based on read load.
Migrating to Amazon Aurora MySQL allows the architecture to utilize Aurora Replicas, which are active and capable of serving read traffic. By enabling Aurora Auto Scaling, the system can automatically adjust the number of replicas to handle dynamic changes in read demand, ensuring application performance and cost efficiency.
Step-by-Step Solution
Key Concept
Scaling database read capacity using Amazon Aurora Replicas and Aurora Auto Scaling.