News for hackers. Stuff that matters.
Re:Real-Time Web Analytics Dashboard with NodeJs, Socket.io,... by Rauchg on Monday March 14, 2016 @07:02PM (#11286215)
- Built in reconnection.

- Events / actions as main abstraction.

- Support for degradation for old devices, browsers, corporate networks.

- WebSocket is not very good at multiplexing. One discrete TCP connection per socket (opposite direction of what HTTP/2 is going)

- Binary support inside JSON (`Buffer` etc)

Re:Real-Time Web Analytics Dashboard with NodeJs, Socket.io,... by true_religion on Monday March 14, 2016 @08:46PM (#11286705)
Plus, all of this is requires support on the server end as well as the client.

A lot of people look at SocketIO as a client-side only library, but it's not. It has connection implementors written on the server side to support things like multiplexing over one channel.