ARCHOS 525 BLUEPRINT · /d/dgm_int-zookeeper-like
ZooKeeper-Style Coordination Internals (ZAB, Ephemeral Nodes & Watches)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_int-zookeeper-like) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-zookeeper-like)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-zookeeper-like" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="ZooKeeper-Style Coordination Internals (ZAB, Ephemeral Nodes & Watches) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Distributed Services"]
n1_1[("Quorum Leader")]
n2a_2[("Quorum Followers")]
n2b_3["Session Lease Mgr"]
n3_4[("In-Memory ZNode Tree")]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Propose · TCP"| n1_1
n1_1 -->|"2a. Ack zxid · TCP"| n2a_2
n1_1 -.->|"2b. Heartbeat · TCP"| n2b_3
n2a_2 -->|"3a. Fire watch · RAM"| n3_4
n2b_3 -->|"3b. Sync · Control"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Distributed ServicesSTATELESSLeader election & config lock
- Quorum LeaderSTATEFULTotal-order zxid proposals
- Quorum FollowersSTATEFULMajority fsync + local reads
- Session Lease MgrSTATELESSEphemeral znode heartbeat TTL
- In-Memory ZNode TreeSTATEFULHierarchical KV + watch fire
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Distributed Services → Quorum Leader (Propose)[TCP]
- Quorum Leader → Quorum Followers (Ack zxid)[TCP]
- Quorum Leader → Session Lease Mgr (Heartbeat)[TCP]
- Quorum Followers → In-Memory ZNode Tree (Fire watch)[RAM]
- Session Lease Mgr → In-Memory ZNode Tree (Sync)[Control]
- In-Memory ZNode Tree → Downstream & OTel (Emit /)[OTLP/API]