ARCHOS 525 BLUEPRINT · /d/dgm_architecture-evolution-path
Architecture evolution path from MVP to scale
7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_architecture-evolution-path) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_architecture-evolution-path)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_architecture-evolution-path" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Architecture evolution path from MVP to scale — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0[("Client application")]
lb_1["Layer 7 load balancer"]
cache_2[("Distributed cache")]
queue_3[("Event log")]
db_4[("PostgreSQL")]
obs_5["OpenTelemetry Collector"]
sink_6[("Client application")]
client_0 -->|"1. Scales web · HTTPS"| lb_1
lb_1 -->|"2. Caches hot · RESP"| cache_2
cache_2 -->|"3. Decouples · Kafka"| queue_3
queue_3 -->|"4. Shards late · SQL"| db_4
db_4 -->|"5. 10M+ ready · HTTPS"| sink_6
lb_1 -->|"Bottlenecks · OTLP"| obs_5COMPONENT STACK (7)
- Client applicationSTATEFUL1k -> 10M+ DAU growth
- Layer 7 load balancerSTATELESSStateless horizontal tier
- Distributed cacheSTATEFULStage 2: 95% read hit
- Event logSTATEFULStage 3: Async spikes
- PostgreSQLSTATEFULStage 4: Replicas->Shards
- OpenTelemetry CollectorSTATELESSMeasure before scaling
- Client applicationSTATEFULZero premature bloat
REQUEST & DATA FLOW (6)
- Client application → Layer 7 load balancer (Scales web)[HTTPS]
- Layer 7 load balancer → Distributed cache (Caches hot)[RESP]
- Distributed cache → Event log (Decouples)[Kafka]
- Event log → PostgreSQL (Shards late)[SQL]
- PostgreSQL → Client application (10M+ ready)[HTTPS]
- Layer 7 load balancer → OpenTelemetry Collector (Bottlenecks)[OTLP]