Hand off work without waiting for the result
Understand how a producer can hand work off without waiting for a result, and how retention, visibility, deletion, and dead-letter routing determine what happens to that work.
With synchronous processing, the caller waits for the work to finish and gets the result in the response. That fits a request whose next step needs the result immediately.
With asynchronous processing through Amazon SQS, the producer waits only for SQS to accept the message, not for a worker to finish. For example, an app can report that a thumbnail job was queued while a separate worker generates the image later. The queue buffers work so producers and consumers can run at different rates.
Stage 1 of 5: The producer creates a work message describing the job, such as which image needs a thumbnail.
Next up: Sort the statements on what you just read.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.