0 votes
in Amazon Elastic Compute Cloud EC2 by
You have deployed multiple EC2 instances across multiple availability zones to run your website. You have also deployed a Multi-AZ RDS MySQL Extra Large DB Instance. The site performs a high number of small read and write operations per second. After some time, you observed that there is read contention on RDS MySQL. What would be your approach to resolve the contention and optimize your website?

1 Answer

0 votes
by

We can deploy ElastiCache in memory cache running in every availability zone. This will help in creating a cached version of the website for faster access in each availability zone. We can also add RDS MySQL read replica in each availability zone that can help in efficient and better performance for read operations. So, there will not be any increased workload on RDS MySQL instance, hence resolving the contention issue.

Related questions

0 votes
asked Aug 31, 2022 in AWS by sharadyadav1986
0 votes
asked Feb 1, 2022 in Amazon Database by sharadyadav1986
...