in Amazon Elastic Compute Cloud EC2 by (32.2k points)
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 (32.2k points)

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 (31.7k points)
0 votes
asked Feb 11, 2020 in AWS by SakshiSharma (32.2k points)
0 votes
asked Dec 5, 2020 in Amazon Elastic Compute Cloud EC2 by SakshiSharma (32.2k points)