David Mashiah

Real-time systems

Holding thousands of live connections without the state going wrong: serialisation by construction rather than by locking, and what it costs to run.

Notes from building live systems that real crowds used: 1 vs 100, a quiz for a full lecture hall on Cloudflare Durable Objects, and SkillSwap, a social network on Firebase.

What broke was rarely the server. It was a rule that met a real room, a load test that never had anyone arrive late, and a per-message bill that stopped a feature before the code did.