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
M04 · INTERACTIVE VISUAL STORY · SLIDING-WINDOW RATE LIMITER & VAULT LEDGER

The Bouncer Watching The Wall Clock

How a clever bot sneaks 2× traffic past a "100/min" limit in 2 seconds.

FIG. M04 · SLIDING WINDOW & DOUBLE-ENTRY LEDGERFixed-window boundary spikes & race conditions vs. atomic Redis Lua limiter + serializable CAS ledger
PRODUCTION FAULT ACTIVE
01 Edge Baseline
02 Boundary Burst
03 Predict Ledger
04 Atomic Guard
API GATEWAYREDIS LUA LIMITERSERIALIZABLE LEDGERRate CheckCAS Debit/CreditHot Tenant50x Edge Burst2x Edge SpikeLua Token GateAtomic Sliding WinFixed Window BugDouble-Entry DBSELECT FOR UPDATEOVERDRAFT RACE
READ FLOW WRITE PATH REPLICATION FAULT / BLOCKED
CLICK ANY NODE OR DRAG SLIDER TO TEST PHYSICS
ADMITTED BURST RATIODEGRADING
FIXED WINDOW + READ-WRITE2.0× SPIKE · RACEBoundary burst slips 200% traffic & double-debits
REDIS LUA + CAS LEDGER1.0× CAP · BALANCEDAtomic sliding window + zero overdraft invariant
Imagine a nightclub bouncer with a clicker that resets to zero every time the wall clock hits :00. At 12:00:59, 100 rowdy guests rush in. One second later at 12:01:00, the bouncer resets his clicker to zero — and 100 MORE rush in! That’s 200 people in 2 seconds crushing the dance floor.
INCOMING CROWD / REQUESTS12345678QUEUE PILING UP (96+ waiting)BOTTLENECK / TRAPEdge Gate (200%)Window Boundary Burst LoadLIVE OUTCOME2× Edge SpikeDrag slider to fix
200% quota
2× BOUNDARY SPIKE! 200 requests slammed origin in 0.2s across the minute edge.
HANDS-ON SYSTEM MANIPULATION · WIRE & ORDER PUZZLES
PREDICT BEFORE READING (+25 XP)
How do we stop the 12:00:59 + 12:01:01 double-rush?
Crucible Staff Systems Mentor
M04 · SOCRATIC PEER MODE
CRUCIBLE · M04 · PRODUCTIVE FAILURE
Before we introduce any terminology for M04 (The Bouncer Watching The Wall Clock), form a falsifiable hypothesis from the physical system: How do we stop the 12:00:59 + 12:01:01 double-rush?