Async and serverless
The work that happens after the response: outbox, topics, queues, Lambda, tickets and email.
- The transactional outbox
How do a booking and its 'send the email' message never get out of step?
- SNS fan-out
Why publish one event to a topic instead of sending it to each worker?
- SQS queues and the dead-letter queue
What happens to a message that keeps failing?
- The Lambda worker
How does a message in a queue become a Lambda call, and what is a partial batch failure?
- DynamoDB
Why does the worker remember which jobs it already did, and why in DynamoDB?
- S3 and presigned URLs
How can a browser fetch or upload a file without having AWS credentials?
- Email with SES
How does the confirmation email get sent, and what happens when sending fails?
Read this book online: https://book.theversehub.in/