Build real-time web apps that hold up beyond the demo. This hands-on guide takes you from WebSocket fundamentals and Socket.IO essentials to security, Redis scaling, monitoring and production deployment. Learn how the pieces work, why they matter and how to build fast, reliable systems ready for serious traffic.
Whenever I've worked on a service, there's always been a morning when it stops being a demo. Then traffic arrives from somewhere nobody planned for, a nightly job overruns into the working day, and a number somebody chose months ago turns out to be wrong. That morning was a different story, though. The thing that separates a survival program from one that doesn't is a set of habits, and those habits can be learned. So, this second edition is organised around them rather than around syntax.
In this book, we plan before we act, we preview before we commit, we gate on evidence rather than on hope, and we write the recovery before we take the risk. By the time you get to the last chapter, you'll be familiar with the switches over NETCONF, server provisioning, building overlays, traffic inspection, cloud network provisioning, Kubernetes resource application, RDMA fabric validation, inference traffic routing, and reporting your findings through an interface that an assistant can query.