Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_market-data-feed

Market Data Feed Handler (UDP Multicast, Gap Recovery & Fan-Out)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Market Data Feed Handler (UDP Multicast, Gap Recovery & Fan-Out) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_market-data-feed/opengraph-image)](https://archos.sageideas.dev/d/dgm_market-data-feed)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_market-data-feed)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_market-data-feed" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Market Data Feed Handler (UDP Multicast, Gap Recovery & Fan-Out) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Exchange Multicast"]
  n1_1["Kernel-Bypass NIC"]
  n2a_2[("Gap & Book Builder")]
  n2b_3["TCP Snapshot Replay"]
  n3_4[("Downstream Consumers")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Recv UDP · UDP"| n1_1
  n1_1 -->|"2a. Apply tick · SHM"| n2a_2
  n1_1 -.->|"2b. Fill gap · TCP"| n2b_3
  n2a_2 -->|"3a. Fan-out · SHM/IPC"| n3_4
  n2b_3 -->|"3b. Apply · Async"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Exchange MulticastSTATELESS
    ITCH/FIX A+B redundant feeds
  • Kernel-Bypass NICSTATELESS
    Solarflare/DPDK A/B arbitrate
  • Gap & Book BuilderSTATEFUL
    Seq check + live L2/L3 state
  • TCP Snapshot ReplaySTATELESS
    Out-of-band gap recovery
  • Downstream ConsumersSTATEFUL
    Algos, charts & tick archive
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Exchange Multicast → Kernel-Bypass NIC (Recv UDP)[UDP]
  2. Kernel-Bypass NIC → Gap & Book Builder (Apply tick)[SHM]
  3. Kernel-Bypass NIC → TCP Snapshot Replay (Fill gap)[TCP]
  4. Gap & Book Builder → Downstream Consumers (Fan-out)[SHM/IPC]
  5. TCP Snapshot Replay → Downstream Consumers (Apply)[Async]
  6. Downstream Consumers → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →