A television broadcasting company is launching a live interactive voting platform for a popular singing competition. During the -minute voting window, the application expects an immediate surge from requests per second to over requests per second. The application runs on Amazon EC2 instances behind an Application Load Balancer (ALB) and uses an Amazon RDS for PostgreSQL database. Initial testing shows the ALB drops incoming requests during the sudden spike, and the database experiences severe read contention from checking participant metadata.
Which two actions should the Solutions Architect take to optimize the performance and scalability of the platform under these conditions?
- Submit a support case to AWS to pre-warm the Application Load Balancer with the expected traffic rate.Cevap
- Migrate the database to Amazon Aurora PostgreSQL and configure Aurora Replicas with Auto Scaling to handle the read query load.Cevap
- CRely on standard target tracking auto-scaling policies to scale the Application Load Balancer dynamically as traffic begins to increase.
- DEnable Multi-AZ replication on the Amazon RDS database and update the application configuration to route read traffic to the standby instance.
- EDeploy Amazon ElastiCache for Memcached and set up multi-AZ replication to serve cached participant metadata with high availability.
Cevap
To optimize the platform's performance and scalability, the Solutions Architect should submit a support case to pre-warm the Application Load Balancer and migrate the database to Amazon Aurora PostgreSQL to use Aurora Replicas with Auto Scaling.
The correct choices are pre-warming the Application Load Balancer and migrating the database to Amazon Aurora PostgreSQL to use Aurora Replicas with Auto Scaling. Pre-warming prepares the load balancer for the immediate volume, preventing packet loss. Aurora Replicas with Auto Scaling allow the application to handle high volumes of read queries by spreading them across dynamically scaled replicas.
Adım Adım Çözüm
Anahtar Kavram
Performance and scalability optimization under flash traffic conditions