Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_sync-vs-async-comms

Synchronous vs Asynchronous Communication Patterns

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Synchronous vs Asynchronous Communication Patterns — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_sync-vs-async-comms/opengraph-image)](https://archos.sageideas.dev/d/dgm_sync-vs-async-comms)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_sync-vs-async-comms)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_sync-vs-async-comms" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Synchronous vs Asynchronous Communication Patterns — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Caller Service"]
  n1_1["API Router"]
  n2a_2["Sync RPC Path"]
  n2b_3[("Async Event Bus")]
  n3_4[("Downstream Worker")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Route call · HTTPS"| n1_1
  n1_1 -->|"2a. Sync RPC · gRPC"| n2a_2
  n1_1 -.->|"2b. Publish · Kafka"| n2b_3
  n2a_2 -->|"3a. Commit · SQL"| n3_4
  n2b_3 -->|"3b. Apply · Async"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Caller ServiceSTATELESS
    Edge or upstream RPC
  • API RouterSTATELESS
    Deadline & budget check
  • Sync RPC PathSTATELESS
    gRPC/HTTP with deadline
  • Async Event BusSTATEFUL
    Kafka/SQS durable buffer
  • Downstream WorkerSTATEFUL
    Idempotent state update
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Caller Service → API Router (Route call)[HTTPS]
  2. API Router → Sync RPC Path (Sync RPC)[gRPC]
  3. API Router → Async Event Bus (Publish)[Kafka]
  4. Sync RPC Path → Downstream Worker (Commit)[SQL]
  5. Async Event Bus → Downstream Worker (Apply)[Async]
  6. Downstream Worker → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →