System design · interactive
Background jobs
Signing up triggers a welcome email, an avatar resize and a CRM sync. Doing them inside the request makes sign-up slow and fragile. Putting them on a queue lets the request finish at once and lets failures retry on their own.
POST /signup
waiting
- Send welcome email—
- Resize avatar—
- Sync to CRM—
The sign-up request creates the user…
Where the work runs
Step 1 of 4 · read left to right
In production
Tools and technologies
Every web framework has a job queue library.
Not tied to one language — use these names when you search docs or design a system.