03 / Realtime edge systems
Shark Tank
A real-time Cloudflare systems project combining multiplayer simulation with Durable Objects, WebSockets, observability, cost controls, incident handling, and security evidence.
The constraint that shapes the system.
Realtime play is only the visible layer. The useful engineering problem is operating it: authoritative rooms, reconnectable sockets, durable profiles, bounded writes, recovery, incident history, and a hard ceiling on variable spend.
A complete path, not an isolated component.
- Authoritative room objects with hibernatable WebSockets
- Durable profiles, leaderboard state, and bounded public writes
- Public status, incident, evidence, API, and governance surfaces
- Authenticated maintenance, billing, backup, and recovery controls
- Daily object-storage state copies and digest-based restore drills
- Measured usage and a hard spend gate that closes game traffic
Explicit ownership at every boundary.
The part worth looking at twice.
The operations layer is evidence, not decoration. Availability, receipts, incidents, spend, controls, and open gaps are inspectable without exposing the operator console.
What exists now.
A small multiplayer game that doubles as a legible production system: visitors can play in seconds, while engineers can follow the networking, recovery, cost, and security evidence as far as they want.