Tinker Queues and background jobs

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

09:00

09:00. Slowest page so far: 1 min.0 in line · 1 busy · 0 done

Chapter 1 of 7

Waiting at the till

Larkspur’s spring sale is about to open. Today the till handles each order right there: book the courier, print the label, email, then answer.

This chapter: What does a customer see when the till does all the work?

About this chapter

You will learn

  • Work done inside a request makes the customer wait
  • A busy till makes everyone behind wait too
  • Why slow work belongs somewhere else

Words you’ll meet

Request
What a customer’s browser sends when they press Buy; the page waits for the answer.
Inline
Done inside the request, before the answer goes back.

Step 1 of 5

Each order is a . The till books the courier, prints and emails , then answers.

Press Step or Play to 09:10.