A global advertising technology company is designing a real-time bidding and analytics platform. The platform must process over million bid requests per second with sub-10 millisecond latency. The bidding system is stateless and deployed on Amazon ECS on AWS Fargate. Behind the bidding service, a read-heavy database stores user profiles () and a write-heavy ingestion pipeline receives transaction logs. During scheduled high-profile sporting events, incoming request traffic spikes instantly from a baseline of requests per second to requests per second in less than one minute. Which two of the following architectural strategies should the solutions architect implement to optimize performance and scalability for these spikes? (Select TWO.)
- Deploy a Network Load Balancer (NLB) at the ingress tier to handle the instantaneous traffic surge without pre-warming, and configure Amazon ECS scheduled scaling to scale out the bidding tasks before the events begin.Answer
- Use Amazon Aurora PostgreSQL for the user profiles database, deploy Aurora Replicas to scale read capacity horizontally, and configure Application Auto Scaling to dynamically adjust the replica count based on CPU utilization.Answer
- CRely on the default Application Load Balancer (ALB) auto-scaling to absorb the flash traffic spike, and configure target tracking scaling policies on CPU utilization for both the ALB and the ECS Fargate tasks.
- DUtilize a Multi-AZ Amazon RDS PostgreSQL deployment for the user profiles, and configure the bidding application to distribute read queries between the primary instance and the standby replica to double read capacity.
- EDeploy an Amazon ElastiCache for Memcached cluster to cache the user profiles, enabling Multi-AZ with automatic failover to guarantee cache persistence and replica synchronization.
Answer
Deploying a Network Load Balancer (NLB) at the ingress tier combined with scheduled ECS scaling, and using Amazon Aurora PostgreSQL with auto-scaling Aurora Replicas.
The correct strategy combines Network Load Balancers (NLBs) with Amazon ECS scheduled scaling to handle the immediate ingress and compute load, and uses Amazon Aurora Replicas to scale database reads. NLBs handle rapid, massive traffic surges natively without requiring pre-warming. Scheduled scaling ensures that the ECS tasks are scaled out in advance of the known event start time. For the database tier, Amazon Aurora Replicas scale read operations horizontally and support Application Auto Scaling to adjust capacity based on CPU utilization.
Step-by-Step Solution
Key Concept
Handling instantaneous, extreme load spikes requires proactive compute scaling, load balancers capable of handling rapid traffic shifts without pre-warming, and horizontal read scaling on the database tier.
Estimated Time:2m 30s