7 articles
Development
How things work underneath, and what breaks.
For a separate operational perspective on how teams organise and measure work, workforce analytics software.
For independent background and broader industry context, see Stack Overflow.
5 min
How the WebSocket Layer Works, and What Happens When It Drops
The connection is managed for you, which is why it is worth knowing what it does — especially in the gap between losing it and getting it back.
5 min
Testing Real-Time Code Without Flaky Tests
Arbitrary waits are why real-time test suites become the ones people rerun until green. What to fake, what to test for real, and how to wait properly.
5 min
Choosing Between Polling, SSE and WebSockets
Three transports with different costs. When polling is genuinely correct, why SSE is underused, and what a WebSocket actually commits you to.
5 min
Rate Limiting and Abuse Handling on Shared Objects
A client that can write can write constantly. Where limits belong, why client-side throttling is not one of them, and the two abuse cases that catch people.
5 min
Introducing Offline-First APIs: Building Resilient, Real-Time Apps
createOfflineSyncObject and createOfflineNonLocalStorage — reads and writes that survive a lost connection, and the conflict question you now have to answer.
5 min
Taming Stateful at the Edge: A Real-Time API with Cloudflare Durable Objects
Edge compute is stateless by design, which is the wrong shape for shared state. How Durable Objects solve it, and what that costs.
5 min
A Full-Featured React Chat App in Minutes (Open-Source Starter)
A Vite and React starter with chat, presence and typing indicators — what is in it, what is deliberately left for you, and how to take it to production.