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
[](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_5COMPONENT STACK (6)
- Web & CLI UsersSTATELESSCreate & read pastes
- Edge API & CDNSTATELESSRead-heavy edge cache + WAF
- Paste API ServiceSTATELESSBase62 ID + abuse scanner
- Metadata & CacheSTATEFULRedis hot pastes + TTL index
- Object & Meta StoreSTATEFULS3 paste bodies + Postgres
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Web & CLI Users → Edge API & CDN (GET/POST)[HTTPS]
- Edge API & CDN → Paste API Service (Create key)[gRPC]
- Edge API & CDN → Metadata & Cache (Cache meta)[Redis]
- Paste API Service → Object & Meta Store (Put blob)[S3/SQL]
- Metadata & Cache → Object & Meta Store (Apply)[Async]
- Object & Meta Store → Downstream & OTel (Emit /)[OTLP/API]