A global food delivery application is launching a real-time order tracking feature. During daily lunch and dinner peak hours, order tracking activity increases significantly. The system must support a peak of database writes per second for order status updates, and a peak of database reads per second for customers checking their order status. The backend architecture consists of an Application Load Balancer (ALB), an Auto Scaling group of Amazon EC2 instances, and an Amazon Aurora MySQL database cluster with one writer and one reader instance. During peak hours, database CPU utilization on the writer node spikes to , causing order status update delays and connection timeouts. The application requires sub-second latency for all operations. Which of the following database tier optimization strategies will meet these requirements while maintaining operational efficiency and high availability?
- Deploy an Amazon ElastiCache for Redis cluster to cache the active order status records. Configure the application to query the cache first and update the cache when database writes occur. Enable Aurora Auto Scaling to dynamically adjust the number of Aurora Replicas based on CPU utilization to handle residual queries routed to the reader endpoint.Cevap
- BConfigure the Aurora cluster as a Multi-AZ deployment, and configure the application's read connection pool to direct status query traffic to the passive standby instance's endpoint to distribute read workloads.
- CSubmit an AWS Support ticket to pre-warm the Application Load Balancer before the daily lunch and dinner peak windows, and scale the primary Aurora writer instance vertically to a larger instance class to handle the peak write and read traffic.
- DConfigure the EC2 Auto Scaling group scaling policy with a cooldown period of seconds to ensure instances launch immediately when CPU spikes, and configure Aurora Auto Scaling to dynamically scale the primary writer instance's size to match the query throughput.