Ravi Sir's Cards › AWS
User waits or not?
This comparison card contrasts User waits or not. Sync path is described as caller waits for Lambda response now. Async queue is described as accept 202, work via SQS/EventBridge later. The card pairs Sync path with uX needs answer, and Async queue with uX can wait.
Read card text
What this card says
User waits or not?
Sync path
Caller waits for Lambda response now.
Async queue
Accept 202, work via SQS/EventBridge later.
Key points
Login, price quote.
Order intake, reports.
Example
Return 200/201 body.
Use when
UX needs answer.
UX can wait.