ARCHOS 525 BLUEPRINT · /d/dgm_music-streaming
Music Streaming Platform (Audio CDN, Royalty Ledger & Offline DRM)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_music-streaming) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_music-streaming)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_music-streaming" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Music Streaming Platform (Audio CDN, Royalty Ledger & Offline DRM) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Mobile & Desktop Apps"]
n1_1["Playback API Edge"]
n2a_2[("Audio CDN & DRM")]
n2b_3[("Play-Event Pipeline")]
n3_4[("Catalog & Royalty DB")]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Get track · HTTPS"| n1_1
n1_1 -->|"2a. Fetch · HTTPS"| n2a_2
n1_1 -.->|"2b. Stream · Kafka"| n2b_3
n2a_2 -->|"3a. Log · SQL"| n3_4
n2b_3 -->|"3b. Apply · Async"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Mobile & Desktop AppsSTATELESSGapless play + offline cache
- Playback API EdgeSTATELESSEntitlement + signed manifest
- Audio CDN & DRMSTATEFULEncrypted Ogg/AAC range chunks
- Play-Event PipelineSTATEFUL30s qualified stream counter
- Catalog & Royalty DBSTATEFULTrack metadata + payout ledger
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Mobile & Desktop Apps → Playback API Edge (Get track)[HTTPS]
- Playback API Edge → Audio CDN & DRM (Fetch)[HTTPS]
- Playback API Edge → Play-Event Pipeline (Stream)[Kafka]
- Audio CDN & DRM → Catalog & Royalty DB (Log)[SQL]
- Play-Event Pipeline → Catalog & Royalty DB (Apply)[Async]
- Catalog & Royalty DB → Downstream & OTel (Emit /)[OTLP/API]