Skip to main content
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
[![Hot partition and key skew — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_fail-hot-partition-and-skew/opengraph-image)](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_6

COMPONENT STACK (7)

  • Client applicationSTATEFUL
    90% load on 1 tenant
  • API gatewaySTATELESS
    Salts hot key (0..N)
  • Distributed cacheSTATEFUL
    Replicates hot reads
  • Event logSTATEFUL
    Salted sub-partitions
  • ClickHouseSTATEFUL
    Dedicated VIP shard
  • Traces, metrics and logsSTATEFUL
    Per-tenant p99 skew
  • Client applicationSTATEFUL
    Balanced shards

REQUEST & DATA FLOW (6)

  1. Client application → API gateway (Skewed burst)[HTTPS]
  2. API gateway → Distributed cache (Absorbs reads)[RESP]
  3. API gateway → Event log (Salts writes)[Kafka]
  4. Event log → ClickHouse (Isolates VIP)[HTTPS]
  5. ClickHouse → Traces, metrics and logs (Checks skew)[HTTP]
  6. Traces, metrics and logs → Client application (Balanced)[HTTPS]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →