SimAWSby ShahriarLabs
Search

Level 2 · Systems

Decoupling with queues and events

Service A calls service B directly. B goes down for ten minutes and A goes down with it. A queue between them turns an outage into a delay — and introduces a set of problems you now have to think about explicitly.

50 minSQS0% completeAssumes you have done: Serverless compute

Chapters

The path

  1. When & whyWhen to reach for SQSYou need to decouple application components by passing messages asynchronously between them without losing data.
  2. ExperimentQueue backlog modelStep incoming work and worker drain capacity over time.