ARCHOS 525 BLUEPRINT · /d/dgm_fail-hot-partition-and-skew
Hot partition and key skew
7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_fail-hot-partition-and-skew) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_fail-hot-partition-and-skew)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_fail-hot-partition-and-skew" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Hot partition and key skew — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0[("Client application")]
router_1["API gateway"]
cache_2[("Distributed cache")]
kafka_3[("Event log")]
db_4[("ClickHouse")]
obs_5[("Traces, metrics and logs")]
sink_6[("Client application")]
client_0 -->|"1. Skewed burst · HTTPS"| router_1
router_1 -->|"2a. Absorbs reads · RESP"| cache_2
router_1 -->|"2b. Salts writes · Kafka"| kafka_3
kafka_3 -->|"3. Isolates VIP · HTTPS"| db_4
db_4 -->|"4. Checks skew · HTTP"| obs_5
obs_5 -->|"5. Balanced · HTTPS"| sink_6COMPONENT STACK (7)
- Client applicationSTATEFUL90% load on 1 tenant
- API gatewaySTATELESSSalts hot key (0..N)
- Distributed cacheSTATEFULReplicates hot reads
- Event logSTATEFULSalted sub-partitions
- ClickHouseSTATEFULDedicated VIP shard
- Traces, metrics and logsSTATEFULPer-tenant p99 skew
- Client applicationSTATEFULBalanced shards
REQUEST & DATA FLOW (6)
- Client application → API gateway (Skewed burst)[HTTPS]
- API gateway → Distributed cache (Absorbs reads)[RESP]
- API gateway → Event log (Salts writes)[Kafka]
- Event log → ClickHouse (Isolates VIP)[HTTPS]
- ClickHouse → Traces, metrics and logs (Checks skew)[HTTP]
- Traces, metrics and logs → Client application (Balanced)[HTTPS]