Skip to content
Theory · Asynchronous work · lesson 2 of 7

Queues and workers

A queue on a diagram is a separate system between a service and its handlers. Draw one, and the interviewer will ask about three things: what lies in it, how many handlers it needs and what happens if a handler crashes mid-work. Each of the three has a short answer with numbers.

In this lesson

  • What lies in the queue
  • Handlers share the queue
  • How many handlers
  • Confirmation
  • Which queue to name
  • Common mistake
  • Key points