Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-olap-cube-store

Real-Time OLAP Store Internals (Druid/Pinot Segments & Inverted Indexes)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Real-Time OLAP Store Internals (Druid/Pinot Segments & Inverted Indexes) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-olap-cube-store/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-olap-cube-store)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-olap-cube-store)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-olap-cube-store" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Real-Time OLAP Store Internals (Druid/Pinot Segments & Inverted Indexes) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["User Analytics UIs"]
  n1_1["Query Broker"]
  n2a_2[("Realtime Consuming")]
  n2b_3[("Historical Servers")]
  n3_4[("Deep Storage")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. SQL slice · HTTPS"| n1_1
  n1_1 -->|"2a. Ingest · Kafka"| n2a_2
  n1_1 -.->|"2b. Scan seg · NVMe"| n2b_3
  n2a_2 -->|"3a. Hand off · S3"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • User Analytics UIsSTATELESS
    Sub-second 1000+ QPS slices
  • Query BrokerSTATELESS
    Scatter-gather + result cache
  • Realtime ConsumingSTATEFUL
    Kafka stream -> mutable seg
  • Historical ServersSTATEFUL
    Memory-mapped immutable segs
  • Deep StorageSTATEFUL
    Durable segment backup + ZK
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. User Analytics UIs → Query Broker (SQL slice)[HTTPS]
  2. Query Broker → Realtime Consuming (Ingest)[Kafka]
  3. Query Broker → Historical Servers (Scan seg)[NVMe]
  4. Realtime Consuming → Deep Storage (Hand off)[S3]
  5. Historical Servers → Deep Storage (Sync)[Control]
  6. Deep Storage → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →