Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_frontend-rendering-architecture

Frontend Rendering Architecture (SPA, SSR, RSC & Edge Streaming)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Frontend Rendering Architecture (SPA, SSR, RSC & Edge Streaming) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_frontend-rendering-architecture/opengraph-image)](https://archos.sageideas.dev/d/dgm_frontend-rendering-architecture)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_frontend-rendering-architecture)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_frontend-rendering-architecture" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Frontend Rendering Architecture (SPA, SSR, RSC & Edge Streaming) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Browser Clients"]
  n1_1[("Edge CDN & Router")]
  n2a_2["SSR / RSC Runtime"]
  n2b_3["BFF Data Layer"]
  n3_4[("Origin APIs & Cache")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Page req · HTTPS"| n1_1
  n1_1 -->|"2a. Stream · HTTP"| n2a_2
  n1_1 -.->|"2b. Fetch data · gRPC"| n2b_3
  n2a_2 -->|"3a. Read cache · HTTPS"| n3_4
  n2b_3 -->|"3b. Apply · Async"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Browser ClientsSTATELESS
    Core Web Vitals LCP/INP
  • Edge CDN & RouterSTATEFUL
    Static assets + ISR cache
  • SSR / RSC RuntimeSTATELESS
    Streaming HTML + Server Comp
  • BFF Data LayerSTATELESS
    Co-located API aggregation
  • Origin APIs & CacheSTATEFUL
    Tag-invalidated data cache
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Browser Clients → Edge CDN & Router (Page req)[HTTPS]
  2. Edge CDN & Router → SSR / RSC Runtime (Stream)[HTTP]
  3. Edge CDN & Router → BFF Data Layer (Fetch data)[gRPC]
  4. SSR / RSC Runtime → Origin APIs & Cache (Read cache)[HTTPS]
  5. BFF Data Layer → Origin APIs & Cache (Apply)[Async]
  6. Origin APIs & Cache → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →