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.

A02 · MODULE 02 · L3 → L4 · 40 MIN1-CLICK VISUAL PREDICT-FIRST

O(1) LRU & W-TinyLFU Caches: Surviving Scan Pollution & Lock Contention

Combine a hash map with a doubly linked list — then see why pure LRU collapses under a single table scan.

01 STORE11 COMPUTE09 LIMIT08 NAMEC1: Tail Latency & Fan-OutC5: Unit Economics & FinOps
STAGE 01 · 1-CLICK VISUAL PREDICT-FIRST
10 SEC · TAP A HYPOTHESIS
60-Second Scene Orientation (No Answer Given): Your in-process product cache holds 100,000 hot SKUs at 94% hit rate. Every night at 02:00 UTC a batch export iterates all 2 million archival SKUs once through the same cache.
UNLABELED PRODUCTION SYMPTOM

Cache hit rate drops from 94% to 6% at 02:02 UTC and Postgres read CPU spikes 12x for twenty minutes.

Why did one sequential scan of cold items wipe out your hottest products inside a textbook O(1) LRU cache?
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 O(1) LRU & W-TinyLFU Caches: Surviving Scan Pollution & Lock Contention…