1-ON-1 MENTOR × VISUAL STORIES × FEYNMAN TEACH-BACK × SPACED REPETITION
Learn 1-on-1 with Crucible Mentor
Start with an everyday mental picture you can feel in your gut, play with the live visual slider, predict what breaks before you see the answer, and talk it through 1-on-1 until you can teach it without jargon.
FEYNMAN VERIFIED
0 / 12
FSRS REPS LOGGED
0
#1 WEAKEST PRIMITIVE
M01 · Idempotency Keys & Non-Blocking Event Loops
M02 · INTERACTIVE VISUAL STORY · B-TREE COMPOSITE INDEXES & PGBOUNCER POOL LANES
Two Checkout Lanes & An Unsorted Phonebook
Why a 4ms query suddenly turns into a 6-second cliff.
FIG. M02 · B-TREE INDEX & PGBOUNCER LANESLittle’s Law queue explosion under sequential table scans vs. composite B-Tree + transaction pooling
PRODUCTION FAULT ACTIVE
01 Normal Checkout
02 Seq Scan Cliff
03 Little’s Law Gate
04 Indexed Recovery
READ FLOW WRITE PATH REPLICATION FAULT / BLOCKED
CLICK ANY NODE OR DRAG SLIDER TO TEST PHYSICSPGBOUNCER QUEUE DEPTHDEGRADING
SEQ SCAN + 2 LANES6,840 ms · 418 WAITL = 800 QPS × 50ms = 40 slots needed
COMPOSITE INDEX + 32 LANES4.2 ms · 0 WAITL = 800 QPS × 4ms = 3.2 slots used
Picture a grocery store with only 2 open checkout lanes (PgBouncer pool = 2). Normally each shopper takes 4 seconds, so the line stays empty. Now imagine the cashier has to read EVERY page of an unsorted phonebook to find your price (Seq Scan). Suddenly each shopper holds a lane for 200 seconds — and 500 angry shoppers pile up out the door!
2 lanes
POOL STARVED! cl_waiting=450 shoppers trapped outside the 2 lanes.
HANDS-ON SYSTEM MANIPULATION · WIRE & ORDER PUZZLES
PREDICT BEFORE READING (+25 XP)
If 200 shoppers arrive per second and each takes 0.05s at checkout, what happens if you only open 2 lanes?