A company is launching a ticket booking platform that expects an instantaneous surge of concurrent users within a -minute window when a major event is announced. The application is hosted on Amazon ECS tasks behind an Application Load Balancer. The database tier uses an Amazon Aurora MySQL DB cluster. The initial user activity is heavily read-intensive, with users repeatedly checking ticket availability.
Which architectural design will provide the most performant and scalable solution to handle this traffic spike while minimizing latency?
- Implement Amazon ElastiCache for Redis to cache ticket availability status. Enable Aurora Auto Scaling for the read replicas to handle any backend read traffic. Submit a support ticket to AWS to pre-warm the Application Load Balancer before the ticket sale starts.Answer
- BImplement Amazon ElastiCache for Redis to cache ticket availability status. Enable Aurora Auto Scaling for the read replicas to handle any backend read traffic. Rely on the Application Load Balancer's native automatic scaling to dynamically handle the traffic surge.
- CRoute read queries directly to the Amazon Aurora MySQL standby instance in the Multi-AZ deployment. Submit a support ticket to AWS to pre-warm the Application Load Balancer before the ticket sale starts.
- DDeploy an Amazon RDS MySQL DB instance with a Multi-AZ standby configuration. Direct read traffic to the standby DB instance during the sale, and rely on the Application Load Balancer's native automatic scaling.
Answer
Implement Amazon ElastiCache for Redis to cache ticket availability status, enable Aurora Auto Scaling for the read replicas to handle residual backend read traffic, and submit a support ticket to AWS to pre-warm the Application Load Balancer prior to the sale.
The correct answer combines Application Load Balancer pre-warming to handle the instant network surge, ElastiCache for Redis to cache repetitive database reads, and Aurora Auto Scaling for replicas to handle database read scaling. This meets the performance and scalability requirements of a flash traffic scenario.
Step-by-Step Solution
Key Concept
Handling sudden, massive traffic spikes requires pre-provisioning capacity at the entry point (ALB pre-warming), caching repeating read queries using a fast caching layer (ElastiCache), and scaling the database horizontally using dedicated read replicas rather than passive standby instances.
Estimated Time:2m 0s