Skip to content

Microservices

Decomposition patterns for modern service architectures. Size and colour communicate which node bears the most load / coordination.

API gateway with downstream services

One gateway sits in front of many services. It's given a dramatic sizeScale=1.6 so the "fan-in / fan-out" hierarchy reads at a glance.

Service-to-service via queue

Producers keep going if consumers are slow. Badges show the health-check status of each service; the dashed arrow marks the async hop.

Saga: distributed transaction

A three-step saga told across three frames — hover the diagram and use ◀ / ▶ to step through. Frame 1 is the happy forward path; frame 2 flags a failed payment; frame 3 draws the compensating refund branch.

Frame 1 / 1–3
frame-gallery-saga (SVG, frame 1)

Service mesh sidecar pattern

Every app pod gets a sidecar proxy. The mesh layer owns mTLS, retries, and telemetry uniformly across languages.

Edit this pageLast updated: