A regional public transit authority is launching a mobile ticketing application to support commuters during a city-wide cultural festival. The authority expects an immediate traffic burst where active user sessions will surge from to over within a -minute window. The backend application runs on Amazon EC2 instances inside an Auto Scaling group behind an Application Load Balancer (ALB), with transactional data stored in a Multi-AZ Amazon RDS for PostgreSQL database. High-frequency queries retrieve transit schedule data which changes daily. Which architecture optimization strategy should a Solutions Architect recommend to handle this sudden traffic spike while maintaining low-latency read operations?
- Configure Amazon ElastiCache for Redis to cache the daily transit schedule data, and submit a support ticket to AWS to pre-warm the Application Load Balancer before the festival begins.Answer
- BConfigure Amazon ElastiCache for Redis to cache the daily transit schedule data, and rely on the Application Load Balancer's automatic scaling to handle the traffic increase as active users connect.
- CConfigure the application to route read queries for transit schedules to the secondary standby instance of the Multi-AZ Amazon RDS PostgreSQL database, and submit a support ticket to AWS to pre-warm the Application Load Balancer.
- DDeploy Amazon ElastiCache for Memcached with multi-AZ replication to cache the schedule data, and rely on the Application Load Balancer's automatic scaling to adjust to the traffic volume.
Answer
Configure Amazon ElastiCache for Redis to cache the daily transit schedule data, and submit a support ticket to AWS to pre-warm the Application Load Balancer before the festival begins.
The correct answer combines pre-warming the Application Load Balancer to prepare for the massive, rapid surge in connections, and caching the static transit schedules in ElastiCache for Redis. This strategy ensures the load balancer has sufficient capacity from the start and offloads read queries from the primary transactional database, maintaining low-latency response times.
Step-by-Step Solution
Key Concept
Caching static read data with ElastiCache for Redis and pre-warming Application Load Balancers for immediate, extreme traffic spikes.
Estimated Time:1m 30s