Messaging & Queues

Pub/sub fan-out

When a post is published, search index, analytics, and mobile push must all update. Queue with one consumer is too slow serially. Compare a task queue vs a pub/sub topic. Sketch message flow and subscriber responsibilities.

Intermediate drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson