Ecommet

System design

Module 8

Asynchronism

Doing work later and elsewhere: message queues and delivery guarantees, background jobs, back pressure, and publish-subscribe with event logs.

  • 4 topics
  • Quiz on every topic

0% read

  • 0 / 4topics read
  • –average quiz score
  • 0 daysreading streak
  • 0saved to revise

Your progress is saved in this browser. Nothing is sent to us.

Module 08

Asynchronism

0 / 4 read

  1. 8.1 Read

    Message Queues and Delivery Guarantees

    A message queue lets one part of a system hand work to another without waiting for it. Learn how queues decouple services, how acknowledgements and visibility timeouts work, and what at-most-once, at-least-once and exactly-once really mean.

    Intermediate 6 min

  2. 8.2 Read

    Task Queues and Background Jobs

    Slow work such as sending email, resizing images or building reports belongs in background jobs, not in the web request. Learn how task queues and workers run jobs, retry them, schedule them and report results.

    Beginner 5 min

  3. 8.3 Read

    Back Pressure

    When producers send work faster than consumers can handle it, queues grow until something breaks. Back pressure pushes the slowdown back to the source. Learn bounded queues, load shedding and how to tell clients to slow down.

    Intermediate 4 min

  4. 8.4 Read

    Pub/Sub and Event Streaming

    In publish-subscribe, one event reaches every interested subscriber. Event logs such as Kafka keep events on disk so consumers can replay them. Learn topics, partitions, consumer groups, offsets, and when to use a queue or a log.

    Advanced 7 min

All modules