Microservice Developer
Split a system without paying the distributed tax twice: modular monoliths, sagas, outbox, bulkheads, circuit breakers, and a path away from the big ball of mud.
Path overview
微服务不是拆得越细越好,而是每一步拆分都要补齐一致性、隔离与部分失败的答案。本路径从先考虑模块化单体出发,经 Saga、发件箱、舱壁与熔断的完整韧性工具箱,收尾于 Netflix 级案例与可运行的多服务模板。
Microservices are not about splitting finer; each cut must answer consistency, isolation, and partial failure. This path walks from modular monoliths through sagas, outbox, bulkheads, and circuit breakers to a runnable template.
Compare "The three states" with "Wrap the call" in "How to Build a Circuit Breaker in Node.js" and state which trade-off you would accept in microservices code.
Next step: Add an Outbox Relay
⏱ 1h
Execute "Add an Outbox Relay" end to end, then repeat the last step with one parameter changed and compare "Avoid the dual-write problem where a database commit succeeds but the event publish fails,".
Prerequisites: How to Build a Circuit Breaker in Node.js
Next step: Isolate Downstreams with Bulkhead Pools
⏱ 0.5h
Run "Stop a single slow dependency from starving unrelated requests by partitioning pools and" from "Isolate Downstreams with Bulkhead Pools" and confirm the documented result "Reporting traffic can occupy at most four connections and never blocks payment clients".
Prerequisites: Add an Outbox Relay
Next step: Add a Circuit Breaker Around a Dependency
⏱ 0.5h
Apply "Add a Circuit Breaker Around a Dependency" to a microservices task, checking that "After five failures the breaker opens; calls fail immediately until the cooldown, then one" appears after the "Stop calling a failing dependency after a threshold, fail fast to callers, and probe" step.
Prerequisites: Isolate Downstreams with Bulkhead Pools
Next step: Netflix Microservices with Node.js
⏱ 0.5h
Compare "Netflix Microservices with Node.js"'s Event-driven architecture with Kafka design with your microservices stack and list the trade-off "Auto-scaling with Kubernetes" implies.
Prerequisites: Add a Circuit Breaker Around a Dependency
Next step: Docker Compose Microservices
⏱ 1.5h
Scaffold "Docker Compose Microservices" with "A microservices architecture with Docker Compose featuring an API gateway, user service,", replace one generated module, and keep Best for distributed systems needing Docker Compose orchestration, an API gateway, separate working.
Prerequisites: Netflix Microservices with Node.js
Next step: Check Event Consumers Against Schema Versions
⏱ 1.5h
Build "Check Event Consumers Against Schema Versions" for microservices code and verify {accepted:[{event:e1,consumers:[audit,billing]},{event:e2,consumers:[] against both samples.
Prerequisites: Docker Compose Microservices
Next step: Capstone: Microservice Developer
⏱ 0.33h
Build "Build a Circuit Breaker Proxy" through its phases, keeping "Half-open probe with gradual recovery" independently testable.
Prerequisites: Docker Compose Microservices, Check Event Consumers Against Schema Versions
Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.
⏱ 4h