Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-local-nvme

Instance-Local NVMe Internals (PCIe Queues, FTL & Ephemeral Risk)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Instance-Local NVMe Internals (PCIe Queues, FTL & Ephemeral Risk) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-local-nvme/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-local-nvme)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-local-nvme)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-local-nvme" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Instance-Local NVMe Internals (PCIe Queues, FTL & Ephemeral Risk) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["DB / Cache Engine"]
  n1_1["NVMe Queue Pairs"]
  n2a_2["Flash Controller FTL"]
  n2b_3["NAND GC & Trim"]
  n3_4[("Ephemeral Flash")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Submit IO · PCIe"| n1_1
  n1_1 -->|"2a. Map block · NAND"| n2a_2
  n1_1 -.->|"2b. TRIM/GC · NAND"| n2b_3
  n2a_2 -->|"3a. Read/Write · NVMe"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • DB / Cache EngineSTATELESS
    io_uring / O_DIRECT block IO
  • NVMe Queue PairsSTATELESS
    Per-core SQ/CQ ring buffers
  • Flash Controller FTLSTATELESS
    LBA->NAND map + wear level
  • NAND GC & TrimSTATELESS
    Background erase + overprov
  • Ephemeral FlashSTATEFUL
    Sub-100us IOPS, lost on stop
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. DB / Cache Engine → NVMe Queue Pairs (Submit IO)[PCIe]
  2. NVMe Queue Pairs → Flash Controller FTL (Map block)[NAND]
  3. NVMe Queue Pairs → NAND GC & Trim (TRIM/GC)[NAND]
  4. Flash Controller FTL → Ephemeral Flash (Read/Write)[NVMe]
  5. NAND GC & Trim → Ephemeral Flash (Sync)[Control]
  6. Ephemeral Flash → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →