A working lab for learning senior backend concepts with real code and simple visuals.
For every topic we will:
- build the naive version;
- reproduce the failure;
- visualize what happened;
- implement and compare the fixes.
We will compare:
- no protection;
- a database unique constraint;
- an idempotency key with response replay.
The backend will produce the real event trace. The web app and Remotion video will visualize the same trace.
apps/api runnable backend
apps/web interactive visual
apps/video Remotion video
labs one folder per topic
packages shared contracts
infra local dependencies
This stays as one repository while the labs share the same tools and visual system.
- Race conditions and overselling
- Transactional outbox
- Retry storms and backpressure
- Cache stampede
- Zero-downtime migrations
- Service boundaries
- SLO, capacity, and cost