Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_llm-moe-and-parallel-serving

Mixture-of-experts and tensor/pipeline parallel serving

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[![Mixture-of-experts and tensor/pipeline parallel serving — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_llm-moe-and-parallel-serving/opengraph-image)](https://archos.sageideas.dev/d/dgm_llm-moe-and-parallel-serving)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_llm-moe-and-parallel-serving)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_llm-moe-and-parallel-serving" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Mixture-of-experts and tensor/pipeline parallel serving — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  src_0[("Client application")]
  n0_1["AI gateway"]
  n1_2["Shard router"]
  n2_3["Service mesh"]
  n3_4["Inference server"]
  ctrl_5["OpenTelemetry Collector"]
  sink_6[("Client application")]
  src_0 -->|"1. Batches · HTTPS"| n0_1
  n0_1 -->|"2. Picks top-2 · TCP"| n1_2
  n1_2 -->|"3. All-to-All · TCP"| n2_3
  n2_3 -->|"4. Runs FFN · TCP"| n3_4
  n3_4 -->|"5. Combines · HTTPS"| sink_6
  n1_2 -->|"Skew check · OTLP"| ctrl_5

COMPONENT STACK (7)

  • Client applicationSTATEFUL
    Batched token stream
  • AI gatewaySTATELESS
    Large-batch MoE ingress
  • Shard routerSTATELESS
    Top-2 gating router
  • Service meshSTATELESS
    All-to-All EP dispatch
  • Inference serverSTATELESS
    Sparse FFN experts (EP/TP)
  • OpenTelemetry CollectorSTATELESS
    Hot-expert skew & MFU
  • Client applicationSTATEFUL
    High capacity, low FLOPs

REQUEST & DATA FLOW (6)

  1. Client application → AI gateway (Batches)[HTTPS]
  2. AI gateway → Shard router (Picks top-2)[TCP]
  3. Shard router → Service mesh (All-to-All)[TCP]
  4. Service mesh → Inference server (Runs FFN)[TCP]
  5. Inference server → Client application (Combines)[HTTPS]
  6. Shard router → OpenTelemetry Collector (Skew check)[OTLP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →