A company runs a critical reporting application that queries an Amazon RDS PostgreSQL Multi-AZ DB instance. During monthly billing cycles, CPU utilization on the database spikes to 100% due to heavy read-only queries, causing performance degradation for other application functions. A solutions architect needs to optimize the database performance to offload these read queries. Which of the following is the most effective solution to resolve the bottleneck?
- Create one or more RDS Read Replicas of the database, and configure the reporting application to direct its read queries to the read replica endpoints.Cevap
- BConfigure the reporting application to direct the read-only query traffic to the standby instance of the RDS Multi-AZ deployment.
- CDeploy an Application Load Balancer in front of the RDS Multi-AZ DB instance, and request that AWS Support pre-warm the load balancer to handle the query traffic spikes.
- DDeploy an Amazon ElastiCache for Memcached cluster to act as a persistent database replication target for the reporting queries.
Cevap
Create one or more RDS Read Replicas of the database, and configure the reporting application to direct its read queries to the read replica endpoints.
Creating RDS Read Replicas allows you to offload read-heavy workloads from the primary DB instance, reducing CPU utilization and optimizing database performance. Amazon RDS supports replication to multiple read replicas, allowing client applications to separate read and write paths efficiently.
Adım Adım Çözüm
Anahtar Kavram
Scaling read performance using Amazon RDS Read Replicas
Tahmini Süre:1m 0s