Routing and buffering solve different problems
When to route an event to interested consumers with EventBridge and when to buffer work in an SQS queue for workers to pull at their own pace.
Start with what the caller needs back. In a synchronous API call, the caller waits for the operation's result in the same request. With an asynchronous handoff, the producer can confirm that the event or work was accepted without waiting for downstream processing to finish.
Use an EventBridge event bus when the question is Who should react to what happened? EventBridge matches events and pushes them to configured targets. The same event can reach multiple independent targets.
Use an SQS queue when the question is What work is waiting for an available worker? The queue holds messages, and workers poll it at a pace they can handle. Workers sharing one queue compete for work; they don't each get their own copy of every message.
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.