QuestionQ83

VerifiedDesign High-Performing Architectures

A company is hosting a three-tier ecommerce application in the AWS Cloud. The company hosts the website on Amazon S3 and integrates the website with an API that handles sales requests. The company hosts the API on three Amazon EC2 instances behind an Application Load Balancer (ALB). The API consists of static and dynamic front-end content, along with backend workers that process sales requests asynchronously.

The company is expecting a significant and sudden increase in the number of sales requests during events for the launch of new products.

What should a solutions architect recommend to ensure that all the requests are processed successfully?

Explanation

Amazon CloudFront is a good fit for delivering the website’s static content from Amazon S3, which reduces load and improves content delivery. To handle a sudden burst of sales submissions reliably, Amazon SQS should be used to decouple request ingestion from backend processing. SQS buffers requests durably so backend workers on the EC2 instances can process them asynchronously at their own rate, preventing request loss during traffic spikes. Auto Scaling alone does not provide durable burst buffering, and ElastiCache is not the right service to sit in front of an ALB for this purpose.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!