ARCHOS 525 BLUEPRINT · /d/dgm_int-rpc-framework
RPC Framework Internals (gRPC, Protobuf, HTTP/2 Mux & Interceptors)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_int-rpc-framework) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-rpc-framework)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-rpc-framework" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="RPC Framework Internals (gRPC, Protobuf, HTTP/2 Mux & Interceptors) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR client_0["Microservice Stubs"] n1_1["Client Stub & Codec"] n2a_2["Interceptor Chain"] n2b_3["HTTP/2 Channel Pool"] n3_4["Server Dispatcher"] downstream_5["Downstream & OTel"] client_0 -->|"1. Encode PB · In-Proc"| n1_1 n1_1 -->|"2a. Propagate · In-Proc"| n2a_2 n1_1 -.->|"2b. Mux H2 · gRPC"| n2b_3 n2a_2 -->|"3a. Dispatch · gRPC"| n3_4 n2b_3 -->|"3b. Sync · Control"| n3_4 n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5
COMPONENT STACK (6)
- Microservice StubsSTATELESSStrongly typed low-latency RPC
- Client Stub & CodecSTATELESSProtobuf varint + tag encode
- Interceptor ChainSTATELESSAuth, OTel trace & deadline
- HTTP/2 Channel PoolSTATELESSMultiplexed streams + flow ctl
- Server DispatcherSTATELESSDeadline cancel + status code
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Microservice Stubs → Client Stub & Codec (Encode PB)[In-Proc]
- Client Stub & Codec → Interceptor Chain (Propagate)[In-Proc]
- Client Stub & Codec → HTTP/2 Channel Pool (Mux H2)[gRPC]
- Interceptor Chain → Server Dispatcher (Dispatch)[gRPC]
- HTTP/2 Channel Pool → Server Dispatcher (Sync)[Control]
- Server Dispatcher → Downstream & OTel (Emit /)[OTLP/API]