A logistics company is designing a new real-time package delivery tracking system. During peak holiday seasons, query traffic for package status is expected to spike instantly from requests per second to requests per second. The system must also ingest GPS coordinate updates per second from delivery vehicles. The tracking status queries require a latency of less than . Which architecture meets these performance and scalability requirements with the least operational overhead?
- Deploy a Network Load Balancer (NLB) to handle the GPS ingestion, routing to an Amazon Elastic Container Service (ECS) cluster. Store the package tracking status in Amazon ElastiCache for Redis with replication, and serve status queries from the Redis read replicas.Cevap
- BDeploy an Application Load Balancer (ALB) to handle the GPS ingestion, routing to an Amazon ECS cluster. Rely on default ALB auto-scaling to scale the load balancer during the peak traffic spike, and store the tracking status in Amazon DynamoDB with auto-scaling enabled.
- CDeploy a Network Load Balancer (NLB) to handle the GPS ingestion, routing to an Amazon ECS cluster. Store the tracking status in a Multi-AZ Amazon RDS for PostgreSQL database, and route all package status queries to the standby DB instance to handle the read query volume.
- DDeploy a Network Load Balancer (NLB) to handle the GPS ingestion, routing to an Amazon ECS cluster. Store the tracking status in Amazon ElastiCache for Memcached, and configure a replication group across multiple Availability Zones to scale the tracking status queries.
Cevap
Deploy a Network Load Balancer (NLB) to handle the GPS ingestion, routing to an Amazon Elastic Container Service (ECS) cluster. Store the package tracking status in Amazon ElastiCache for Redis with replication, and serve status queries from the Redis read replicas.
The correct architecture uses a Network Load Balancer (NLB), which is optimized for ultra-low latency and handles sudden, volatile traffic spikes of millions of requests per second without pre-warming. For storage, Amazon ElastiCache for Redis with replication is chosen because it easily meets the sub-5ms read latency requirement and supports replication groups, allowing reads to scale horizontally on replicas while the primary node handles the writes per second GPS ingestion rate.
Adım Adım Çözüm
Anahtar Kavram
Selecting load balancing and caching tiers capable of handling sudden, high-velocity traffic spikes and scaling read capacity horizontally.
Tahmini Süre:2m 0s