A global gaming publisher is launching a real-time multiplayer matchmaking platform. The session coordination system must handle a baseline load of requests per second, which is expected to spike to requests per second within minutes during the launch event. The matchmaking state is highly transient, read-and-write intensive, and requires sub-millisecond latency. The architecture must guarantee high availability across multiple Availability Zones. Which architecture represents the most performant, scalable, and operationally efficient design to meet these requirements?
- An Application Load Balancer (ALB) that has been pre-warmed via an AWS Support request, routing traffic to Amazon ECS tasks running on AWS Fargate. Matchmaking state is stored in an Amazon ElastiCache for Redis cluster running in a Multi-AZ configuration with automatic failover enabled.Answer
- BAn Application Load Balancer (ALB) routing traffic to an Amazon ECS service running on AWS Fargate with aggressive target tracking scaling policies. Matchmaking state is stored in an Amazon ElastiCache for Redis cluster running in a Multi-AZ configuration. The ALB scales automatically using default capacity scaling.
- CAn Application Load Balancer (ALB) that has been pre-warmed via an AWS Support request, routing traffic to Amazon ECS tasks running on AWS Fargate. Matchmaking state is stored in a multi-node Amazon ElastiCache for Memcached cluster to leverage multi-threaded performance and cross-Availability Zone replication.
- DAn Application Load Balancer (ALB) that has been pre-warmed via an AWS Support request, routing traffic to Amazon ECS tasks running on AWS Fargate. Matchmaking state is stored in an Amazon RDS for PostgreSQL database running in a Multi-AZ deployment, where read queries are routed to the standby replica to distribute the read load.
Answer
The architecture using a pre-warmed Application Load Balancer, Amazon ECS on AWS Fargate, and Amazon ElastiCache for Redis in a Multi-AZ configuration.
The correct answer combines an AWS Support pre-warmed Application Load Balancer to absorb the immediate traffic surge with Amazon ECS on Fargate for containerized computation. It utilizes Amazon ElastiCache for Redis in a Multi-AZ configuration to support high-throughput, low-latency transient state storage with automated replication and failover.
Step-by-Step Solution
Key Concept
Handling sudden high-volume traffic spikes on ALB and selecting appropriate high-performance, replicated in-memory storage.