Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-service-discovery

Service Discovery Internals (Health-Checked Registry, DNS & xDS)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Service Discovery Internals (Health-Checked Registry, DNS & xDS) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-service-discovery/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-service-discovery)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-service-discovery)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-service-discovery" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Service Discovery Internals (Health-Checked Registry, DNS & xDS) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Microservice Clients"]
  n1_1["Registration Agent"]
  n2a_2[("Discovery Registry")]
  n2b_3["Health & Outlier Gate"]
  n3_4["Client / xDS Resolver"]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Register · gRPC"| n1_1
  n1_1 -->|"2a. Store ep · Raft"| n2a_2
  n1_1 -.->|"2b. Filter bad · HTTP"| n2b_3
  n2a_2 -->|"3a. Watch eps · xDS/DNS"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Microservice ClientsSTATELESS
    Dynamic ephemeral pod IPs
  • Registration AgentSTATELESS
    Register IP:port + TTL beat
  • Discovery RegistrySTATEFUL
    Consul/K8s/CloudMap state
  • Health & Outlier GateSTATELESS
    Drop unhealthy IPs fast
  • Client / xDS ResolverSTATELESS
    Local cached watch + LB
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Microservice Clients → Registration Agent (Register)[gRPC]
  2. Registration Agent → Discovery Registry (Store ep)[Raft]
  3. Registration Agent → Health & Outlier Gate (Filter bad)[HTTP]
  4. Discovery Registry → Client / xDS Resolver (Watch eps)[xDS/DNS]
  5. Health & Outlier Gate → Client / xDS Resolver (Sync)[Control]
  6. Client / xDS Resolver → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →