The pieces added for the real-time feature (orange) grow to as much as the main body
Guided views
Explore this system
Step through curated paths without changing the source diagram.
Beat
Next
ReadyChapter 01 / 01
Guided chapter
Diagram guideExplore this system
Inspecting compiled semantics
E ExportT ThemeS Style0 Reset+ Zoom in- Zoom outEsc Close
Find a node
⌕/
No matching nodes
Semantic passport
Verified source
Authored reach
Route probeChoose a start node
Pick two semantic nodes on the diagram
Choose the source, then the destination. Direction matters.
Semantic lensCompare system roles
Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.
Choose a kind to inspect its nodes and touching relationships.
Semantic radar
Building overview
Click nodeDrag to pan
Semantic radar needs more MAP space.
The orange pieces the real-time feature bolts on
• sticky LB + WebSocket servers: hold customer connections only, no logic
• Redis pub/sub (real-time fan-out detour): the server doesn't know which WS the client is on, so it publishes the status and the subscribing WS pushes it — drawn one-way API→pub/sub→WS, but WS↔pub/sub and pub/sub↔API are both bidirectional (subscribe + publish)
• Redis distributed lock: several servers touch the same order/conversation at once → serialize for ordering
Main body (blue) + discovery (gray)
• API servers (ASP.NET Core, stateless) ↔ Domain servers (gRPC server) over gRPC + mesh sidecar
• service discovery (xDS / Consul): the API does location lookup, the Domain server registers
• Sticky LB, WebSocket, pub/sub detour, distributed lock, mesh/discovery — five pieces bolted on just for real-time