← All Learning Paths

Resilience Engineer

Keep services alive under stress: circuit breakers, bulkheads, timeout budgets, load shedding, fault injection, and failover drills.

roleadvanced10 nodes13.83h total

Path overview

This path is generated from the curated resource graph.

  1. Read "How to Build a Circuit Breaker in Node.js" for the "Wrap the call" argument, then name the decision in resilience engineer work it would change.

    Completion criteria: Record a short walkthrough of "How to Build a Circuit Breaker in Node.js" with timestamps at "Wrap the call" and "Timeouts and failure classification", plus the commit that applies it.

    Next step: Add a Circuit Breaker Around a Dependency

    ⏱ 1h

  2. Apply "Add a Circuit Breaker Around a Dependency" to a resilience engineer task, checking that "Implement a breaker with a failure threshold, cooldown, and a single half-open probe." appears after the "After five failures the breaker opens; calls fail immediately until the cooldown, then one" step.

    Prerequisites: How to Build a Circuit Breaker in Node.js

    Completion criteria: Run the steps through "After five failures the breaker opens; calls fail immediately until the cooldown, then one", paste the command output, and mark the line that matches "Implement a breaker with a failure threshold, cooldown, and a single half-open probe."; then rerun with one parameter changed.

    Next step: Isolate Downstreams with Bulkhead Pools

    ⏱ 0.5h

  3. Execute "Isolate Downstreams with Bulkhead Pools" end to end, then repeat the last step with one parameter changed and compare "Reporting traffic can occupy at most four connections and never blocks payment clients".

    Prerequisites: Add a Circuit Breaker Around a Dependency

    Completion criteria: Deliver a transcript of "Isolate Downstreams with Bulkhead Pools" with each step's command and observed state, ending at "Reporting traffic can occupy at most four connections and never blocks payment clients".

    Next step: Inject Timeouts at the Dependency Boundary

    ⏱ 0.5h

  4. Apply "Inject Timeouts at the Dependency Boundary" to a resilience engineer task, checking that "Clients receive 504 with retryable false for a charge, preventing duplicate payments." appears after the "Put an explicit timeout on every outbound call." step.

    Completion criteria: Show the command for every step of "Inject Timeouts at the Dependency Boundary" and paste the output proving "Put an explicit timeout on every outbound call."; then note the step where "Clients receive 504 with retryable false for a charge, preventing duplicate payments." appears.

    Next step: Add Latency Fault Injection for Resilience Tests

    ⏱ 0.5h

  5. Execute "Add Latency Fault Injection for Resilience Tests" end to end, then repeat the last step with one parameter changed and compare "Set the request timeout shorter than the injected delay and assert the timeout response.".

    Prerequisites: Inject Timeouts at the Dependency Boundary

    Completion criteria: Run "Add Latency Fault Injection for Resilience Tests" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Run a Database Failover Drill

    ⏱ 0.5h

  6. Follow "Run a Database Failover Drill" and record "Record the baseline: Capture replication lag, current primary, connection counts, and a" at the step where it should appear, using "The replica accepts writes and reports read-write mode." as the check.

    Prerequisites: Add Latency Fault Injection for Resilience Tests

    Completion criteria: Record the state "Record the baseline: Capture replication lag, current primary, connection counts, and a" at the verification step, then paste the output of "The replica accepts writes and reports read-write mode." that proves it.

    Next step: Run a Multi-Region Failover Drill

    ⏱ 1.5h

  7. Carry out "Run a Multi-Region Failover Drill" on a resilience engineer project, pausing at the "Record the baseline: Capture the active region, replication lag, request rate, error rate," step to verify "The failure is visible to the control plane and the primary is no longer receiving new".

    Prerequisites: Run a Database Failover Drill

    Completion criteria: Attach a checklist of "Run a Multi-Region Failover Drill"'s steps with the observed state after each one and the verification result from "The failure is visible to the control plane and the primary is no longer receiving new".

    Next step: Adopt Quorum Queues for Durable Messaging

    ⏱ 2h

  8. Execute "Adopt Quorum Queues for Durable Messaging" end to end, then repeat the last step with one parameter changed and compare "The queue replicates via raft on several nodes.".

    Prerequisites: Run a Multi-Region Failover Drill

    Completion criteria: Run the steps through "Create the queue with the quorum type and choose a replication factor across distinct nodes.", paste the command output, and mark the line that matches "A message is redelivered a bounded number of times."; then rerun with one parameter changed.

    Next step: Compute an Exponential Backoff Schedule

    ⏱ 1h

  9. Build "Compute an Exponential Backoff Schedule" for resilience engineer code and verify {delays:[100,200,400,800],totalMs:1500} against both samples.

    Prerequisites: Adopt Quorum Queues for Durable Messaging

    Completion criteria: Attach the solution file for "Resilience Engineer", two passing sample runs, and one failing run whose error matches the contract.

    Next step: Capstone: Resilience Engineer

    ⏱ 0.33h

  10. Ship "Closed on consecutive successes" from "Build a Circuit Breaker Proxy", then prove it with the project's test suite and an acceptance note.

    Prerequisites: Adopt Quorum Queues for Durable Messaging, Compute an Exponential Backoff Schedule

    Completion criteria: Deliver "Closed on consecutive successes" and paste the test output where the acceptance test passes; include the test name and command.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h