A million WebSocket connections and pub/sub
summary
Describes building a WebSocket and pub/sub notification system at Mail.ru that handles millions of live connections and thousands of notifications per second. Covers resource management strategies, techniques for performing seamless restarts, and fallback/contingency plans for unexpected failures.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 3:20Polling problem and solution
- 16:37Choosing Go
- 18:27Simple WebSocket implementation
- 23:23Memory and buffer optimization
- 31:52Zero-copy connection upgrade
- 36:46Goroutine pool and load handling
- 41:01Results and metrics
- 41:50Q&A
related talks
41mWebsockets as the glue to interactivity
40mThe Road to 2 Million Websocket Connections in Phoenix
31mNode.js that's hugely reliable, fast, and scalable
29mHow We Reliably Send a Million Messages Per Request
29mGoing Infinite: Handling 1 Million Websocket Connections in Go
45mKeeping it Real(time)
28mRealtime Content Delivery: Powering dynamic instant experiences on your mobile apps
57mReliability Nirvana
