News for hackers. Stuff that matters.
Re:Real-Time Web Analytics Dashboard with NodeJs, Socket.io,... by jkarneges on Monday March 14, 2016 @09:41PM (#11286910)
If you don't need fallback to HTTP, there are some alternative libraries that handle auto reconnect for pure WebSockets:

https://github.com/fanout/websockhop

https://github.com/joewalnes/reconnecting-websocket

Re:Real-Time Web Analytics Dashboard with NodeJs, Socket.io,... by dtf on Tuesday March 15, 2016 @05:51AM (#11288518)
Also, if your traffic is basically one-way like in this example, don't forget Server-Sent Events, which are auto-reconnecting and well supported.