A logistics company is designing an automated package routing application on AWS. The application receives manifest data from regional hubs, which must be processed sequentially based on arrival time to maintain an accurate package tracking ledger. The ingestion of these manifests is highly sporadic: the system experiences zero traffic for several consecutive hours, but experiences sudden spikes of up to 100 manifests within a few minutes. Each manifest takes between 12 to 14 minutes of CPU-intensive calculations to process, occasionally extending to 18 minutes for exceptionally large hubs. The solutions architect must design a highly available, serverless, and cost-optimized architecture that scales automatically and decouples manifest ingestion from processing. Which two options should the solutions architect select to satisfy these requirements?
- Deploy the processing application on Amazon Elastic Container Service (Amazon ECS) using AWS Fargate, and configure target tracking scaling based on the SQS queue depth.Cevap
- Use an Amazon Simple Queue Service (Amazon SQS) FIFO queue to buffer incoming manifest data and maintain strict message ordering.Cevap
- CDeploy the processing application on AWS Lambda, configuring the functions to be triggered directly by the upload events.
- DUse an Amazon Simple Queue Service (Amazon SQS) Standard queue to decouple the components, and implement consumer-side logic to re-order the processed manifests.