QuestionQ14

VerifiedTroubleshooting and Optimization

A company has a three-tier application that is deployed in Amazon Elastic Container Service (Amazon ECS). The application is using an Amazon RDS for MySQL DB instance. The application performs more database reads than writes.

During times of peak usage, the application’s performance degrades. When this performance degradation occurs, the DB instance’s ReadLatency metric in Amazon CloudWatch increases suddenly.

How should a developer modify the application to improve performance?

Explanation

ElastiCache caches frequently accessed query results, reducing read load on the RDS instance and significantly lowering read latency during peak usage. This is the standard solution for read-heavy workloads experiencing database performance degradation.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!