Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_load-balancing-tiers

Load Balancing Tiers (DNS, Layer 4, Layer 7 and global)

10 COMPONENTS · 13 FLOWS · UPDATED 2026-11-20
GITHUB README / PR PREVIEW CARD
[![Load Balancing Tiers (DNS, Layer 4, Layer 7 and global) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_load-balancing-tiers/opengraph-image)](https://archos.sageideas.dev/d/dgm_load-balancing-tiers)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_load-balancing-tiers)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_load-balancing-tiers" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Load Balancing Tiers (DNS, Layer 4, Layer 7 and global) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  browser_0[("Browser")]
  dns_1[("DNS")]
  glb_2["Global load balancer"]
  l4_3["Layer 4 load balancer"]
  l7_4["Layer 7 load balancer"]
  appa_5["Application server"]
  appb_6["Application server"]
  telemetry_7[("Traces, metrics and logs")]
  l4s_8["Layer 4 load balancer"]
  capacity_9["Capacity estimate"]
  browser_0 -->|"1a. Asks (DNS) · DNS"| dns_1
  browser_0 -->|"1b. Connects · HTTPS"| glb_2
  glb_2 -->|"2. Routes · TCP"| l4_3
  l4_3 -->|"3. Passes · TCP"| l7_4
  l7_4 -->|"4a. Routes · HTTP/2"| appa_5
  l7_4 -->|"4b. Routes · HTTP/2"| appb_6
  appa_5 -->|"5a. Replies · HTTP/2"| l7_4
  appb_6 -->|"5b. Replies · HTTP/2"| l7_4
  l7_4 -->|"6. Replies · TCP"| l4_3
  l4_3 -->|"7. Replies · TCP"| glb_2
  glb_2 -->|"8. Delivers · HTTPS"| browser_0
  glb_2 -->|"Health check · TCP"| l4s_8
  l7_4 -->|"Exports (OTLP) · OTLP"| telemetry_7

COMPONENT STACK (9)

  • BrowserSTATEFUL
    Asks for a page from the user's device
  • DNSSTATEFUL
    Returns the Anycast addresses
  • Global load balancerSTATELESS
    Anycast entry; picks a healthy region
  • Layer 4 load balancerSTATELESS
    Spreads connections without reading requests
  • Layer 7 load balancerSTATELESS
    Routes each request to a healthy server
  • Application serverSTATELESS
    Serves requests in zone a
  • Application serverSTATELESS
    Serves requests in zone b
  • Traces, metrics and logsSTATEFUL
    Healthy-server count and errors per tier
  • Layer 4 load balancerSTATELESS
    Idle until the primary region fails

REQUEST & DATA FLOW (13)

  1. Browser → DNS (Asks (DNS))[DNS]
  2. Browser → Global load balancer (Connects)[HTTPS]
  3. Global load balancer → Layer 4 load balancer (Routes)[TCP]
  4. Layer 4 load balancer → Layer 7 load balancer (Passes)[TCP]
  5. Layer 7 load balancer → Application server (Routes)[HTTP/2]
  6. Layer 7 load balancer → Application server (Routes)[HTTP/2]
  7. Application server → Layer 7 load balancer (Replies)[HTTP/2]
  8. Application server → Layer 7 load balancer (Replies)[HTTP/2]
  9. Layer 7 load balancer → Layer 4 load balancer (Replies)[TCP]
  10. Layer 4 load balancer → Global load balancer (Replies)[TCP]
  11. Global load balancer → Browser (Delivers)[HTTPS]
  12. Global load balancer → Layer 4 load balancer (Health check)[TCP]
  13. Layer 7 load balancer → Traces, metrics and logs (Exports (OTLP))[OTLP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →