ARCHOS 525 BLUEPRINT · /d/dgm_spartan-lab5-internals-db-raft-llm

Spartan Lab 5: Pure-Code Internals (LSM-Tree, Raft, sendfile & Mini-GPT)

9 COMPONENTS · 8 FLOWS · UPDATED 2026-11-23
Fork in ArchOS Studio
GITHUB README / PR PREVIEW CARD
[![Spartan Lab 5: Pure-Code Internals (LSM-Tree, Raft, sendfile & Mini-GPT) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_spartan-lab5-internals-db-raft-llm/opengraph-image)](https://archos.sageideas.dev/d/dgm_spartan-lab5-internals-db-raft-llm)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_spartan-lab5-internals-db-raft-llm)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/engine/?diagram=dgm_spartan-lab5-internals-db-raft-llm&preview=1" width="100%" height="560" style="border:1px solid #1E2C3C;border-radius:12px;" loading="lazy" title="Spartan Lab 5: Pure-Code Internals (LSM-Tree, Raft, sendfile & Mini-GPT)"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0[("Client application")]
  leader_1[("Consensus store")]
  followers_2[("Consensus store")]
  wal_3[("Write-ahead log (WAL)")]
  sstable_4[("Block volume")]
  sendfile_5[("Bare metal host")]
  minigpt_6[("Training cluster")]
  bench_7[("Continuous profiling")]
  sink_8[("Client application")]
  client_0 -->|"1. Writes KV · TCP"| leader_1
  leader_1 -->|"2a. Replicates · TCP"| followers_2
  leader_1 -->|"2b. Appends WAL · TCP"| wal_3
  wal_3 -->|"3. Flushes run · TCP"| sstable_4
  sstable_4 -->|"4. Reads pages · TCP"| sendfile_5
  sendfile_5 -->|"5. Streams DMA · TCP"| sink_8
  minigpt_6 -->|"MPS loss · HTTP"| bench_7
  sstable_4 -->|"IOPS bench · HTTP"| bench_7