Worker
A background process that takes jobs off a queue and does them.
See it in action
These lessons put worker to work. Read one, then play it and watch what happens without it.
- CDN, queues and no single point of failure: 30,000 req/s. Half are images and scripts, and writes trigger slow work like emails. Nothing may go down if one…
- One event, many readers: 10,000 req/s and 25% are new orders. Each order must be saved, emailed to the customer and added to analytics. Three…
- Find anything, fast: A shop with 10,000 req/s adds a search box. 4% of requests are searches, 400 a second, and each one makes the database…
- Take the money: A sale brings 4,000 req/s, and 4% are people paying: 160 charges a second at the peak. Your app calls the payment…
- Numbers as they happen: 20,000 sensors report in: 3,000 readings a second at the peak. You need to store them, show live totals and let…
- One order, many services: An order touches payments, stock and delivery, and each has its own database. The card was charged, then the stock…
- Amazon: Prime Day: On Prime Day 2025, DynamoDB peaked at 151 million requests a second. You're running one ten-thousandth of that: 15,100…
- Swiggy: New Year's Eve: Swiggy hit 9,500 food orders a minute on New Year's Eve: 158 a second. Here that's real size, not scaled down. With…