Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_pastebin

Pastebin Service (Write-Once Blobs, Short Keys & TTL Expiry)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Pastebin Service (Write-Once Blobs, Short Keys & TTL Expiry) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_pastebin/opengraph-image)](https://archos.sageideas.dev/d/dgm_pastebin)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_pastebin)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_pastebin" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Pastebin Service (Write-Once Blobs, Short Keys & TTL Expiry) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Web & CLI Users"]
  n1_1["Edge API & CDN"]
  n2a_2["Paste API Service"]
  n2b_3[("Metadata & Cache")]
  n3_4[("Object & Meta Store")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. GET/POST · HTTPS"| n1_1
  n1_1 -->|"2a. Create key · gRPC"| n2a_2
  n1_1 -.->|"2b. Cache meta · Redis"| n2b_3
  n2a_2 -->|"3a. Put blob · S3/SQL"| n3_4
  n2b_3 -->|"3b. Apply · Async"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Web & CLI UsersSTATELESS
    Create & read pastes
  • Edge API & CDNSTATELESS
    Read-heavy edge cache + WAF
  • Paste API ServiceSTATELESS
    Base62 ID + abuse scanner
  • Metadata & CacheSTATEFUL
    Redis hot pastes + TTL index
  • Object & Meta StoreSTATEFUL
    S3 paste bodies + Postgres
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Web & CLI Users → Edge API & CDN (GET/POST)[HTTPS]
  2. Edge API & CDN → Paste API Service (Create key)[gRPC]
  3. Edge API & CDN → Metadata & Cache (Cache meta)[Redis]
  4. Paste API Service → Object & Meta Store (Put blob)[S3/SQL]
  5. Metadata & Cache → Object & Meta Store (Apply)[Async]
  6. Object & Meta Store → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →