A financial services firm runs an online transaction processing (OLTP) application using a single Amazon RDS PostgreSQL Multi-AZ DB instance. During peak hours, read-heavy reporting queries cause CPU utilization on the primary instance to reach 100%, degrading write transactions. Which solution should a solutions architect implement to optimize performance and scale read capacity?
- Deploy Amazon RDS PostgreSQL Read Replicas and configure the application to route reporting queries to the read replica endpoints.Cevap
- BConfigure the application to route read-only reporting queries directly to the DNS endpoint of the standby DB instance in the secondary Availability Zone.
- CRequest AWS Support to pre-warm the Application Load Balancer to allow it to handle the database read spikes directly.
- DEnable Auto Scaling on the DB instance configuration to dynamically scale the compute capacity of the standby node to process queries.
Cevap
Deploy Amazon RDS PostgreSQL Read Replicas and configure the application to route reporting queries to the read replica endpoints.
Deploying Amazon RDS PostgreSQL Read Replicas is the correct solution. Read replicas are dedicated active instances that replicate data asynchronously from the primary writer. By routing reporting queries to these endpoints, the CPU load on the primary writer is reduced, resolving the performance degradation.
Adım Adım Çözüm
Anahtar Kavram
Amazon RDS Read Replicas vs Multi-AZ Standby capabilities
Tahmini Süre:45s