Tinker Queues and background jobs

by Samy (Kondasamy Jayaraman) · drawn with Colorfigures by April Zhu

09:06

09:06. Moe’s job: 0 tries.2 waiting · 3 busy · 5 done

Chapter 6 of 7

The job that never works

Retries saved the outage. But one order has an address the courier can’t read, and its job fails every time.

This chapter: What should a queue do with a job that will never succeed?

About this chapter

You will learn

  • A poison job fails on every try
  • A limit on tries stops the retrying
  • A dead-letter queue keeps it for a person

Words you’ll meet

Poison job
A job that fails every time, however often it is tried.
Dead-letter queue
A shelf for jobs that ran out of tries, kept for a person to look at.

Step 1 of 5

Moe’s job is a : the courier can’t read the address. It retries at once, with no limit.

Step to 09:10.