Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_dynamo-style-internals

Dynamo-Style Key-Value Internals (Consistent Hash, Quorum & Repair)

8 COMPONENTS · 7 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Dynamo-Style Key-Value Internals (Consistent Hash, Quorum & Repair) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_dynamo-style-internals/opengraph-image)](https://archos.sageideas.dev/d/dgm_dynamo-style-internals)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_dynamo-style-internals)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_dynamo-style-internals" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Dynamo-Style Key-Value Internals (Consistent Hash, Quorum & Repair) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["App Client"]
  coord_1["Request Coordinator"]
  repA_2[("Replica Node A")]
  repB_3[("Replica Node B")]
  repC_4[("Replica Node C")]
  hint_5[("Hinted Handoff")]
  merkle_6["Anti-Entropy Merkle"]
  downstream_7["Downstream & OTel"]
  client_0 -->|"1. Put W=2 · HTTPS"| coord_1
  coord_1 -->|"2a. Write · RPC"| repA_2
  coord_1 -->|"2b. Write · RPC"| repB_3
  coord_1 -.->|"2c. Async 3rd · RPC"| repC_4
  repA_2 -.->|"3. Store hint · Hint"| hint_5
  merkle_6 -->|"Repair · Merkle"| repC_4
  hint_5 -.->|"4. Emit / · OTLP/API"| downstream_7

COMPONENT STACK (8)

  • App ClientSTATELESS
    Put/Get by Partition Key
  • Request CoordinatorSTATELESS
    Consistent hash ring router
  • Replica Node ASTATEFUL
    Primary vnode + B-Tree/LSM
  • Replica Node BSTATEFUL
    Quorum peer
  • Replica Node CSTATEFUL
    Quorum peer
  • Hinted HandoffSTATEFUL
    Sloppy quorum temp buffer
  • Anti-Entropy MerkleSTATELESS
    Background tree diff sync
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (7)

  1. App Client → Request Coordinator (Put W=2)[HTTPS]
  2. Request Coordinator → Replica Node A (Write)[RPC]
  3. Request Coordinator → Replica Node B (Write)[RPC]
  4. Request Coordinator → Replica Node C (Async 3rd)[RPC]
  5. Replica Node A → Hinted Handoff (Store hint)[Hint]
  6. Anti-Entropy Merkle → Replica Node C (Repair)[Merkle]
  7. Hinted Handoff → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →