Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_online-inference-lowlat

Online Low-Latency ML Inference (ONNX/TensorRT, Dynamic Batching)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Online Low-Latency ML Inference (ONNX/TensorRT, Dynamic Batching) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_online-inference-lowlat/opengraph-image)](https://archos.sageideas.dev/d/dgm_online-inference-lowlat)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_online-inference-lowlat)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_online-inference-lowlat" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Online Low-Latency ML Inference (ONNX/TensorRT, Dynamic Batching) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Critical Path APIs"]
  n1_1["Inference Gateway"]
  n2a_2[("Feature Store Cache")]
  n2b_3["Triton / ONNX Pool"]
  n3_4["Fallback & Telemetry"]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Predict · gRPC"| n1_1
  n1_1 -->|"2a. Hydrate · Redis"| n2a_2
  n1_1 -.->|"2b. Run TRT · gRPC"| n2b_3
  n2a_2 -->|"3a. Emit SLO · OTLP"| n3_4
  n2b_3 -->|"3b. Apply · Async"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Critical Path APIsSTATELESS
    Fraud, search & rec <15ms
  • Inference GatewaySTATELESS
    Timeout 15ms + circuit break
  • Feature Store CacheSTATEFUL
    Sub-2ms Redis/Dynamo lookup
  • Triton / ONNX PoolSTATELESS
    TensorRT + 2ms dynamic batch
  • Fallback & TelemetrySTATELESS
    Heuristic fallback + latency
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Critical Path APIs → Inference Gateway (Predict)[gRPC]
  2. Inference Gateway → Feature Store Cache (Hydrate)[Redis]
  3. Inference Gateway → Triton / ONNX Pool (Run TRT)[gRPC]
  4. Feature Store Cache → Fallback & Telemetry (Emit SLO)[OTLP]
  5. Triton / ONNX Pool → Fallback & Telemetry (Apply)[Async]
  6. Fallback & Telemetry → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →