A logistics company is designing a real-time fleet monitoring platform for million active delivery vehicles. Each vehicle transmits telemetry data every seconds over HTTPS, resulting in a sustained ingestion rate of million requests per second. The peak request volume can suddenly double in less than a minute. The system must process these updates with a sub-second latency envelope and store them in a persistent data store. The engineering team also needs to query the latest vehicle positions with sub-millisecond latency. Which architecture meets these requirements with the highest performance and reliability, while minimizing operational overhead?
- ADeploy an Application Load Balancer (ALB) to route incoming HTTPS requests to an Amazon Elastic Container Service (ECS) service on AWS Fargate. The ECS tasks process the updates, write the latest positions to an Amazon ElastiCache for Redis replication group with Multi-AZ enabled, and write the historical telemetry to an Amazon DynamoDB table in On-Demand capacity mode.
- BDeploy a Network Load Balancer (NLB) to route incoming HTTPS requests to an Amazon Elastic Container Service (ECS) service on AWS Fargate. The ECS tasks process the updates, write the latest positions to an Amazon ElastiCache for Memcached cluster with Multi-AZ replication enabled, and write the historical telemetry to an Amazon DynamoDB table in On-Demand capacity mode.
- Deploy a Network Load Balancer (NLB) to route incoming HTTPS requests to an Amazon Elastic Container Service (ECS) service on AWS Fargate. The ECS tasks process the updates, write the latest positions to an Amazon ElastiCache for Redis replication group with Multi-AZ enabled, and write the historical telemetry to an Amazon DynamoDB table in On-Demand capacity mode.Cevap
- DDeploy a Network Load Balancer (NLB) to route incoming HTTPS requests to an Amazon Elastic Container Service (ECS) service on AWS Fargate. The ECS tasks process the updates, write the latest positions to an Amazon RDS for PostgreSQL database configured with Multi-AZ, and configure the application to scale read queries for latest positions by directing them to the Multi-AZ standby instance.
Cevap
Deploy a Network Load Balancer (NLB) to route incoming HTTPS requests to an Amazon Elastic Container Service (ECS) service on AWS Fargate. The ECS tasks process the updates, write the latest positions to an Amazon ElastiCache for Redis replication group with Multi-AZ enabled, and write the historical telemetry to an Amazon DynamoDB table in On-Demand capacity mode.
The architecture combining a Network Load Balancer (NLB), Amazon ECS on Fargate, Amazon ElastiCache for Redis (Multi-AZ), and Amazon DynamoDB (On-Demand) is correct because it ensures instant scaling to handle massive traffic spikes without pre-warming, provides sub-millisecond read latency for latest positions with high availability, and persists historical telemetry with zero manual capacity scaling overhead.
Adım Adım Çözüm
Anahtar Kavram
Selecting and configuring AWS ingestion, caching, and database services to optimize performance and handle massive, sudden scaling requirements without operational bottlenecks.