WebSocket: How, When and What It Costs
summary
Overview of WebSocket technology: what WebSocket is, how it works, and how it compares to HTTP and long polling. Covers available client/server libraries, what protocol or server-side behavior needs to be implemented or agreed with the backend, a classic WebSocket implementation and an implementation using Centrifuge, and measurements of the resource cost of keeping active sockets in an application.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 3:41What is WebSocket
- 12:56WebSocket internals
- 21:50WebSocket issues
- 30:19WebSocket libraries
- 41:43When to use WebSocket
- 50:19Q&A








