A media company is launching a live interactive voting feature during a weekly television broadcast. The platform expects an immediate traffic spike of concurrent requests within the first seconds of the voting window opening. The application retrieves user profiles and records votes. The current architecture consists of an Application Load Balancer (ALB) routing traffic to an Amazon ECS service running on AWS Fargate, backed by an Amazon Aurora PostgreSQL DB cluster. During load testing, the ALB drops requests with Service Unavailable errors during the first minute of the spike, and the database becomes unresponsive due to read contention on the user profiles table. Which combination of actions will resolve these performance and scalability issues?
- Request AWS Support to pre-warm the ALB to the expected traffic volume before the broadcast, and create Aurora Replicas with Aurora Auto Scaling enabled to scale the read capacity of the database cluster.Cevap
- BEnable target tracking scaling policies on the ALB based on active connections, and enable Amazon RDS Multi-AZ deployment to route read queries to the standby database instance.
- CRequest AWS Support to pre-warm the ALB to the expected traffic volume before the broadcast, and enable Amazon RDS Multi-AZ deployment to distribute the read query load to the standby instance.
- DConfigure ECS scheduled scaling to pre-provision Fargate tasks, increase the instance size of the primary Aurora DB instance to handle the read query volume, and rely on the ALB's default automatic scaling.