Skip to main content
CRUCIBLE
CRUCIBLE STUDIO· FOCUS MODE
← PrevNext Module →
Predict-First · Broken Fault
MENTAL MOVIE · POOL-QUEUEPREDICT-FIRST · BROKEN FAULT
Incoming BurstRate λ · L = λ × W140+ Waiting WallStarved Pool / FDsFULLFULLFULLFULLSeq Scan / Leak / No Limitcl_waiting Spike -> EMFILE6.8s Cliff503 / OOM KillerCascading Collapse
Why It Fails: Broken: Slow scans, leaks, or unbounded waits fill every slot (L = λW), piling callers into a runaway waiting wall.
STUDY THE BROKEN VISUAL · 10-SECOND PREDICTION

Inspect the crimson fault path above, then tap your hypothesis card on the right to unlock the animated Cryo-Emerald Fixed invariant and Socratic physics breakdown.

A01 · MODULE 03 · L4 → L5 · 45 MIN1-CLICK VISUAL PREDICT-FIRST

Postgres 15 Internals, Composite Indexes & Connection Pools

Why a 4ms query suddenly turns into a 6-second cliff — and how Little’s Law governs every pool.

01 STORE08 NAME05 WAIT09 LIMITC1: Tail Latency & Fan-OutC2: Correctness & Invariants
STAGE 01 · 1-CLICK VISUAL PREDICT-FIRST
10 SEC · TAP A HYPOTHESIS
60-Second Scene Orientation (No Answer Given): Your checkout API talks to Postgres 15 through PgBouncer (default_pool_size = 2). Traffic hits 150 RPS and latency jumps from 4ms to 6.8 seconds.
UNLABELED PRODUCTION SYMPTOM

p99 latency spikes to 6.8s, SHOW POOLS shows 140 cl_waiting, and EXPLAIN ANALYZE prints Seq Scan on orders.

Someone suggests bumping Postgres max_connections from 100 to 1,500 to "give everyone a lane." Why does that make p99 WORSE?
STAGE 02 · 5-BEAT FEYNMAN CONSOLIDATION
STAGE 03 · REAL EXECUTION LAB (COLD-NO-AI · TIER-A-1GB)
LOCKED UNTIL PREDICT-FIRST
Tap a Stage 01 hypothesis card (or click Skip Struggle (Veteran)) to unlock the Execution Lab and Linked Job Workflows without spoiling the solution.
STAGE 04 · PRINCIPAL JUDGMENT GATE & 3-MIN ORAL DIFF-DEFENSE
LOCKED UNTIL PREDICT-FIRST
Stage 04 stays collapsed until you complete Stage 01 so the hardened diff and Principal consequence chain do not spoil your prediction.
KORE & PUCK STUDIO AUDIOConnecting Postgres 15 Internals, Composite Indexes & Connection Pools…