© 2020 Strange Loop
Waiting hundreds of milliseconds for an Ajax request from the browser to server and back... that's so 2009. Welcome the (near)real-time, peer-to-peer-capable web of 2013, where round-trips of communication can take as little as a few dozen milliseconds, nearly indistinguishable from instant, and sometimes don't even need a server at all.
We're going to take a look at HTML5's main real-time capabilities: WebSockets and WebRTC. We'll enable these with a powerful but simple node.js back-end. And together, we'll build a multi-user, live-simultaneous-interaction app that helps sort out where these technologies will fit best into our application toolbox.