Skip to main content
CRUCIBLE
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
M01 · INTERACTIVE VISUAL STORY · EVENT LOOPS & STAMPED COAT-CHECK TICKETS

One Barista & The 5-Minute Blender

Why one tiny blocking line freezes 200 healthy users.

FIG. M01 · ASYNC EVENT LOOP & IDEMPOTENCYSingle-threaded worker starvation vs. non-blocking async handoff + UNIQUE idempotency guard
PRODUCTION FAULT ACTIVE
01 Baseline Flow
02 Blocking Freeze
03 Predict Trap
04 Async + Key Fix
CLIENT / EDGEFASTAPI WORKER LOOPPOSTGRES LEDGERPOST /ordersBlocking callIdempotent INSERTMobile ClientsRetry on 4s timeout3x RetriesEvent Loop1 Async Worker5,000ms BLOCKEDSlow BlenderSync HTTP / I/OCPU pinnedOrders TableUNIQUE(idem_key)DOUBLE CHARGE
READ FLOW WRITE PATH REPLICATION FAULT / BLOCKED
CLICK ANY NODE OR DRAG SLIDER TO TEST PHYSICS
P99 RESPONSE LATENCYDEGRADING
SYNC BLOCKING WORKER80 RPS · 2x CHARGE50x throughput cliff + duplicate retry writes
ASYNC + IDEMPOTENCY KEY4,000 RPS · 0 DUPESNon-blocking await + UNIQUE(tenant_id, key)
Imagine a fast coffee shop with ONE superhero barista. Pouring black coffee takes 1 second, so she serves 60 happy people a minute. Then one customer orders a custom smoothie and the barista stands staring at the blender for 5 full minutes instead of pouring other cups. Everyone in line freezes — and impatient customers tap "Pay" twice!
INCOMING CROWD / REQUESTS1234567QUEUE PILING UP (84+ waiting)BOTTLENECK / TRAP1 Worker / BaristaBlender Freeze TimeLIVE OUTCOMEEvent Loop BlockedDrag slider to fix
4s
QUEUE FROZEN! 48 customers stuck waiting; mobile apps time out and double-charge.
HANDS-ON SYSTEM MANIPULATION · WIRE & ORDER PUZZLES
PREDICT BEFORE READING (+25 XP)
Customer #2 just wants a 1-second black coffee while the barista stares at a 5-minute blender. What happens to Customer #2?
Crucible Staff Systems Mentor
M01 · SOCRATIC PEER MODE
CRUCIBLE · M01 · PRODUCTIVE FAILURE
Before we introduce any terminology for M01 (One Barista & The 5-Minute Blender), form a falsifiable hypothesis from the physical system: Customer #2 just wants a 1-second black coffee while the barista stares at a 5-minute blender. What happens to Customer #2?