A global sports streaming service plans to launch a real-time commentary portal for a major tournament finals. The portal will experience a predictable but sudden increase in read traffic, surging from a baseline of requests per minute to over requests per minute in less than ten minutes. The backend application runs on Amazon ECS using AWS Fargate, and reads from an Amazon Aurora PostgreSQL database. High performance, sub-second latency, and zero dropped requests are critical requirements during the tournament. Which architecture design optimization should a solutions architect recommend to ensure the system scales efficiently under this load?
- Deploy Amazon ElastiCache for Redis to cache database queries, and contact AWS Support to pre-warm the Application Load Balancer (ALB) before the tournament begins.Answer
- BConfigure Amazon Aurora replicas with Auto Scaling to handle the read queries, and rely on the Application Load Balancer (ALB) default auto-scaling to absorb the rapid traffic surge.
- CEnable Multi-AZ deployment for the Amazon Aurora database, and direct read traffic to the standby DB instance during peak traffic hours.
- DConfigure an Application Load Balancer (ALB) with an ECS Auto Scaling policy that has a scaling cooldown period of 15 seconds to ensure rapid container deployment.
Answer
Deploy Amazon ElastiCache for Redis to cache database queries, and contact AWS Support to pre-warm the Application Load Balancer (ALB) before the tournament begins.
The correct answer combines caching with database query offloading and load balancer pre-warming. Deploying Amazon ElastiCache for Redis offloads high-volume read traffic from the Aurora database, keeping latency sub-second. Requesting ALB pre-warming from AWS Support prepares the load balancer to handle the sudden burst of requests per minute immediately, ensuring zero dropped requests.
Step-by-Step Solution
Key Concept
Handling sudden, massive traffic bursts (flash traffic) requires pre-provisioning or pre-warming load balancers and implementing caching strategies like Amazon ElastiCache to offload reads from database engines.
Estimated Time:2m 0s