ARCHOS 525 BLUEPRINT · /d/dgm_code-skip-lists-and-memtables
Skip Lists & LSM MemTables (Probabilistic O(log N) Lock-Free Ordering)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_code-skip-lists-and-memtables) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_code-skip-lists-and-memtables)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_code-skip-lists-and-memtables" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Skip Lists & LSM MemTables (Probabilistic O(log N) Lock-Free Ordering) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Write / Range Caller"]
n1_1["Tower Height RNG"]
n2a_2[("Multi-Level Forward List")]
n2b_3["CAS Atomic Splice"]
n3_4[("Immutable SST Flush")]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Roll · RNG"| n1_1
n1_1 -->|"2a. Traverse · SkipList"| n2a_2
n1_1 -->|"2b. CAS ptr · Atomic"| n2b_3
n2a_2 -->|"3a. Seq scan · Flush"| n3_4
n2b_3 -->|"3b. Merge · RAM"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Write / Range CallerSTATELESSInsert & Prefix Scan
- Tower Height RNGSTATELESSGeometric p=0.25 level roll
- Multi-Level Forward ListSTATEFULExpress lanes O seek
- CAS Atomic SpliceSTATELESSLock-free concurrent insert
- Immutable SST FlushSTATEFULSequential L0 iterator dump
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Write / Range Caller → Tower Height RNG (Roll)[RNG]
- Tower Height RNG → Multi-Level Forward List (Traverse)[SkipList]
- Tower Height RNG → CAS Atomic Splice (CAS ptr)[Atomic]
- Multi-Level Forward List → Immutable SST Flush (Seq scan)[Flush]
- CAS Atomic Splice → Immutable SST Flush (Merge)[RAM]
- Immutable SST Flush → Downstream & OTel (Emit /)[OTLP/API]