Re:Chapter 7: Real-Time Communication
by coreymgilmore on Wednesday April 09, 2014 @01:39PM
(#7560849)
What about websockets? This is very similar to subscription webhooks, but also different. Websockets have been gaining in popularity due to easy of use and implementation and low overhead. Plus, a typical server can hold open thousands of connections since many might just be waiting for an event to send/receive.
[ Parent
| on HN ]
Re:Chapter 7: Real-Time Communication
by denizozger on Wednesday April 09, 2014 @02:21PM
(#7561207)
Agreed. With current browser support (http://en.wikipedia.org/wiki/WebSocket#Browser_support) and fallback libraries (like http://socket.io/), I believe WebSockets are usually the best choice when it comes to real time communications.
This. After doing my initial skim of the article, the first thing I noticed was they omitted sockets. I always thought sockets were the standard for streaming, real-time communication over the web and would at least be mentioned in a post like this.