← All Learning Paths

Event-Driven Architect

An event-driven path through event sourcing, CQRS, outbox delivery, idempotent consumers, dead letters, and real-time protocols.

roleadvanced9 nodes13.83h total

Path overview

This path is generated from the curated resource graph.

  1. Read "Building Real-time Features with WebSockets" for the "Heartbeats and Detecting Dead Connections" argument, then name the decision in event driven architect work it would change.

    Completion criteria: Attach a decision log for "Building Real-time Features with WebSockets": the "Heartbeats and Detecting Dead Connections" section, one rejected alternative, and the diff of the file you changed.

    Next step: Error Handling Patterns for Production Applications

    ⏱ 1h

  2. Compare "The Top-Level Handler: Log, Respond, Exit" with "Structured Logging and the Redaction Layer" in "Error Handling Patterns for Production Applications" and state which trade-off you would accept in event driven architect code.

    Prerequisites: Building Real-time Features with WebSockets

    Completion criteria: Record a short walkthrough of "Error Handling Patterns for Production Applications" with timestamps at "The Top-Level Handler: Log, Respond, Exit" and "Structured Logging and the Redaction Layer", plus the commit that applies it.

    Next step: Typed Event Emitter With Listener Limits

    ⏱ 1h

  3. Execute "Typed Event Emitter With Listener Limits", change one constant, and describe how the output diverges from "A generic event emitter whose event names and payload types are checked at compile time,".

    Prerequisites: Error Handling Patterns for Production Applications

    Completion criteria: Paste the command, the exit code, and the output line matching "A generic event emitter whose event names and payload types are checked at compile time,"; then show a second run with a changed parameter.

    Next step: FastAPI Data Fetching with Async

    ⏱ 0.75h

  4. Run the event driven architect snippet "FastAPI Data Fetching with Async", capture stdout, and show which line demonstrates the documented behavior: "the fetch_user entry point".

    Prerequisites: Typed Event Emitter With Listener Limits

    Completion criteria: Attach the terminal transcript for "FastAPI Data Fetching with Async": command, exit code, and the printed result you used to confirm "Fetch and aggregate data from multiple APIs in FastAPI using asyncio.gather for concurrent".

    Next step: Add an Idempotent Consumer Handler

    ⏱ 0.75h

  5. Apply "Add an Idempotent Consumer Handler" to a event driven architect task, checking that "The table enforces one row per consumer and message." appears after the "Make a queue consumer safe to run more than once for the same message without duplicating" step.

    Prerequisites: FastAPI Data Fetching with Async

    Completion criteria: Run "Add an Idempotent Consumer Handler" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Discord Real-time with Rust and Go

    ⏱ 0.5h

  6. Compare "Discord Real-time with Rust and Go"'s Low-latency event fan-out as an explicit design goal design with your event driven architect stack and list the trade-off "Horizontal scaling with sharding" implies.

    Prerequisites: Add an Idempotent Consumer Handler

    Completion criteria: List each Low-latency event fan-out as an explicit design goal component of "Discord Real-time with Rust and Go", its responsibility, and one trade-off, citing "Horizontal scaling with sharding".

    Next step: Express + Prisma REST API

    ⏱ 1.5h

  7. Scaffold "Express + Prisma REST API" with "npx create-express-typescript-app my-api --prisma --zod", replace one generated module, and keep Express, Prisma, TypeScript, Zod working.

    Prerequisites: Discord Real-time with Rust and Go

    Completion criteria: Run "Express, Prisma, TypeScript, Zod", replace one module, and show the entry point still returns the documented output; include the diff.

    Next step: Check Event Consumers Against Schema Versions

    ⏱ 1.5h

  8. Turn JSON object: { consumers: [{ id, acceptsVersion }], events: [{ id, into {accepted:[{event:e1,consumers:[audit,billing]},{event:e2,consumers:[] by completing "Check Event Consumers Against Schema Versions" with a reproducible script and a failing-case note.

    Prerequisites: Express + Prisma REST API

    Completion criteria: Submit a solution for "Event-Driven Architect" that passes both samples ({consumers:[{id:billing,acceptsVersion:v2},{id:audit,accepts to {accepted:[{event:e1,consumers:[audit,billing]},{event:e2,co) and attach the failing case you fixed.

    Next step: Capstone: Event-Driven Architect

    ⏱ 0.33h

  9. Build "Build a Local Event Bus" through its phases, keeping "Typed channels" independently testable.

    Prerequisites: Express + Prisma REST API, Check Event Consumers Against Schema Versions

    Completion criteria: Run the project's test command for "Build a Local Event Bus", paste the passing output, and attach the acceptance note for "Typed channels" with the test name.

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

    ⏱ 4h