- 53lessons
- 4guided projects
- 9module checkpoints
- 1.2hours of video
What you'll learn
- Decide which work leaves a request, and describe it as a versioned message with a readable job status.
- Make handlers safe under duplicate delivery with processed-id stores, atomic effects, stable keys and an outbox.
- Preserve per-key order, bound concurrency and apply backpressure and rate limits.
- Schedule delayed and recurring work with explicit time-zone, duplicate-fire and missed-run policies.
- Build and demonstrate a two-stage background workflow with idempotent handlers, retry and dead-letter tests.
Skills you'll gain
- Jobs
- messages
- Broker
- worker contracts
- Acknowledgment
- delivery
- Idempotency
- Retries
- dead letters
- Ordering
- concurrency
- rate control
- Scheduling
- Observability
Tools you'll use
- Message broker (exchanges, queues, publisher confirms)
- Node.js
- JavaScript
- Dead-letter queues
Details to know
- Certificate on completionIssued after your final project is reviewed
- 9 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 3 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 3
Messages, brokers and delivery
Decide which work leaves a request, describe broker and worker contracts, and reason about loss and duplicates with manual acknowledgement.
You build: Guided project: Job API with a confirmed enqueue path.
- 02
Modules 4 to 6
Idempotency, retries and ordering
Make handlers safe to run twice, build bounded retries with backoff and a dead-letter queue, and preserve per-key order under limits.
You build: Guided project: Crash-injection harness and idempotent consumer; Retries, dead letters and ordered streams.
- 03
Modules 7 to 9
Scheduling, operations and the workflow
Schedule delayed and recurring jobs, monitor and shut down workers safely, and assemble the two-stage workflow with a fault matrix.
You build: Guided project: Scheduled digest and operations toolkit.
Full curriculum
9 modules and 53 lessons, 29 to 52 hours of study
01Jobs and messages6 lessons, 2 to 4 hours
Lessons
- Deciding what leaves the request path
- The envelope: id, type, version and timestamp on every message
- Payload by value or by reference: the claim check
- Command or event: who decides what happens next
- Enqueue, answer 202 and expose a job-status resource
- First round trip: loopback RabbitMQ, a durable queue and one acknowledged message
After this module you can
- Partition a list of operations into inline and background work using whether the response needs the result and how long the user may wait.
- Build and validate a message envelope with a unique id, a type name, a schema version and a creation time, rejecting unknown versions before any handler runs.
- Start a disposable loopback broker, record its version against the release page, declare a durable queue, publish one persistent message, consume and acknowledge it, and read queue depth before and after.
02Broker and worker contracts6 lessons, 3 to 4 hours
Lessons
- Exchanges, bindings and routing keys: predicting where a message lands
- Durable queues and persistent messages across a broker restart
- Publisher confirms: telling the caller 'accepted' only when the broker has it
- The worker handler contract: outcomes in, acknowledgements out
- Competing consumers and prefetch: who gets the next message
- Surviving a closed channel: connection and channel supervision
After this module you can
- Predict, for a given set of bindings, which queues receive a message published to the default, a direct or a fanout exchange, and what happens when none match.
- State what must be durable or persistent for a message to survive a restart, and verify the claim by restarting a disposable broker with a message in the queue.
- Write a supervisor that reacts to connection and channel error and close events by rebuilding the consumer with capped backoff instead of crashing or silently stopping.
03Acknowledgment and delivery6 lessons, 2 to 4 hours
Lessons
- Auto-ack versus manual ack: what a crashed consumer takes with it
- The ack window: acknowledging before or after the work
- Ack, nack, reject and requeue: what each call does to the queue
- The redelivered flag and delivery counts: a hint, not proof
- At-most-once, at-least-once, exactly-once: reading the claims honestly
- Crash-injection harness with a fake clock: processed versus acknowledged
After this module you can
- Show with a model broker that automatic acknowledgement loses a message when the consumer crashes mid-work while manual acknowledgement returns it to the queue.
- Compare ack-before-work and ack-after-work using three crash points, and explain why ack-after-work turns loss into duplicates that the handler must tolerate.
- Build a deterministic harness that injects consumer crashes and an ack-timeout at seeded moments and asserts invariants about processed, acknowledged and redelivered counts.
04Idempotency6 lessons, 2 to 4 hours
Lessons
- Naturally idempotent versus accumulating operations
- A processed-ids store and the check-then-insert race
- Recording the effect and the dedupe marker in one transaction
- Choosing the idempotency key and the retention window
- Calling something outside your database: reserve, call, confirm
- The dual-write problem and the transactional outbox, at concept level
After this module you can
- Classify an operation as safe or unsafe to repeat and rewrite an accumulating operation (add 5) into one that gives the same result when applied twice (set to 15).
- Implement a processed-ids store, show that checking then inserting fails under two concurrent duplicates, and fix it with an atomic insert that fails on a duplicate key.
- Explain why writing to a database and publishing a message are two writes that can diverge, and model an outbox table with a relay that publishes at least once.
05Retries and dead letters7 lessons, 3 to 5 hours
Lessons
- Classifying failures: transient, permanent and poison
- Why immediate requeue turns a hiccup into a storm
- Backoff schedules: fixed, exponential, capped and jittered
- Delayed retry on RabbitMQ with TTL tiers and a dead-letter route back
- Dead-letter exchanges and the contents of the dead-letter queue
- Quorum queue delivery limits and poison messages
- Operating the dead-letter queue: inspect, redrive and avoid loops
After this module you can
- Map errors from a fixture to retry, dead-letter or drop outcomes by deciding whether another attempt could succeed.
- Quantify with a fake-clock simulation how immediate requeue multiplies load on a failing dependency and compare it with spaced retries.
- Inspect dead-lettered messages, redrive them with a cap and a loop guard, and show a dead-letter cycle that the broker or the guard terminates.
06Ordering, concurrency and rate control6 lessons, 3 to 4 hours
Lessons
- What a single queue orders, and what breaks that order
- Per-key ordering by sharding: same key, same queue, one consumer
- Single active consumer: ordered processing with failover
- Tolerating out-of-order arrival with sequence numbers
- Bounded concurrency inside a worker, with a lock per key
- Backpressure and rate limits: bounded queues and a token bucket
After this module you can
- Predict the processing order of messages for one consumer, several competing consumers and a requeue, and state exactly when FIFO is observed by the application.
- Route messages with a stable hash of an ordering key to one of N queues, each consumed by one worker, and verify that every key's messages are processed in publish order.
- Protect a queue and a downstream API from bursts with a bounded queue that rejects publishes at its limit and a token bucket that caps calls per second, verified on a fake clock.
07Scheduling5 lessons, 2 to 4 hours
Lessons
- Delayed, recurring and cron jobs: computing the next run
- Local times, time zones and clock changes
- Exactly one fire: duplicate schedulers and deterministic job ids
- Missed runs: skip, run once or catch up
- Delay precision: TTL tiers versus a due-jobs table with leases
After this module you can
- Compute the next due time for a one-off delay, a fixed interval and a restricted cron expression from an injected clock, in UTC.
- Schedule a job for a local wall-clock time using a supplied transition table and apply explicit policies for local times that do not exist or occur twice.
- Compare TTL-based delay with a due-jobs table polled by workers using lease-based claims, and state the precision, load and failure behaviour of each.
08Observability and operations6 lessons, 3 to 4 hours
Lessons
- Reading queue health: ready, unacknowledged and rates
- Correlation ids and structured logs across enqueue, retry and handle
- Job metrics: wait time, processing time, retries and dead letters
- Graceful shutdown: stop consuming, finish in-flight, then close
- Backlog arithmetic: drain time, worker sizing and stuck handlers
- Testing queue code: handlers, models and one real-broker test
After this module you can
- Classify a queue as healthy, backlog-growing or stuck from time series of ready and unacknowledged counts and publish and delivery rates.
- Carry a correlation id from the HTTP request into message headers and every log line, and rebuild one job's timeline from interleaved logs.
- Structure queue tests in three layers (pure handler, model broker with fake clock, one real-broker integration) and prove the suite catches a deliberately introduced ack-order bug.
09Workflow project5 lessons, 2 to 4 hours
Lessons
- Workflow contract: stages, messages, states and the delivery statement
- Building the two stages with confirms, manual acks and an adapter
- Idempotent stages and an outbox handoff between render and email
- The fault matrix: retries, dead letters and seeded chaos
- Operations pack and the live demonstration
After this module you can
- Specify a two-stage invoice-delivery workflow as message contracts, a job state machine, a queue topology and a delivery guarantee, and validate the contract with executable checks.
- Implement the HTTP edge and both worker stages on the loopback broker with confirmed publishes, manual acknowledgement after work, outcome adapters and prefetch chosen from a measurement.
- Produce the operations pack (health checks, drain procedure, DLQ runbook, capacity sheet) and demonstrate the running pipeline, a failure, and a recovery on the loopback broker.
What you'll build
4 guided projects along the way, then a final project.
Job API with a confirmed enqueue path
after module 2Crash-injection harness and idempotent consumer
after module 4Retries, dead letters and ordered streams
after module 6Scheduled digest and operations toolkit
after module 8
Final project
Background workflow with idempotent handlers retry and dead-letter tests: an invoice-delivery style pipeline (or an equally sized option) running on a disposable loopback broker, with a seeded fault-matrix report and an operations pack..
What you submit
Source and artifact submission: repository with contract.json, topology script, workers, supervisor and tests.
How it's reviewed
Trainer-reviewed live demonstration of normal flow, an outage with recovery, a poison item to DLQ and redrive, and a redeploy with nothing lost. Marked against the course project review rubric.
Where you'll use it
- Move email or file processing out of a web request into a queued job with a status the caller can check.
- Redrive failed jobs from a dead-letter queue after fixing the cause.
Roles that use these skills
- Backend developer
- Platform engineer
- Site reliability engineer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
Which language do the labs use?
Node.js. Every concept is stated in terms of broker operations, so it carries over to other languages.
What is the final project?
One pipeline, such as invoice delivery or media thumbnails, with retry tiers and a DLQ, demonstrated live with an outage and a redrive.
How is Background Jobs & Message Queues structured, and is it open now?
It has 9 modules and 53 lessons. It is not yet released to learners.
Be first in when Background Jobs & Message Queues opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens

