Learning on Web Dev Open is free for all.

Backend Engineering > Work that outlives the requestA queue and a worker
Phase 05Work that outlives the request269 of 434

A queue and a worker

Producer, queue, consumer, dead-letter. Build the smallest complete version and then kill the worker mid-job to see what happens.

Build55 minAI pair

Build this in your own editor

This one runs on your machine rather than in the browser workbench. Work to the outcomes below, then come back and mark it complete.

You should now be able to

  • Enqueue a job and process it in a separate process
  • Handle a job that fails halfway
  • Route repeatedly failing jobs somewhere a person will look
Ask the community

Loading…