Design High-Performing Architectures

A web application waits for an image-processing service to finish before acknowledging each upload, causing timeouts during traffic spikes. Users only need confirmation that processing was accepted; which change lets the web and processing tiers scale independently?

Show the answer

Correct answerC. Queue processing requests in Amazon SQS for background workers.

AWhy not this: Faster processors may shorten processing time but do not remove the web tier's synchronous dependency.

BWhy not this: A shared Auto Scaling group ties the tiers' capacity changes together instead of allowing independent scaling.

CWhy this is right: The web tier can acknowledge queued work without waiting for workers, and worker capacity can scale separately.

DWhy not this: Longer timeouts keep requests waiting and do not decouple the tiers or buffer processing work.

An SQS queue separates request acceptance from background processing, so each tier can scale independently and bursts can be buffered. Larger processing instances may reduce execution time but preserve the synchronous dependency.