goInstant polling first?

firebase, goinstant, websocket

Solution

That's exactly what GoInstant does. It starts with an XHR connection, then attempts to upgrade to websocket if available.

Problem

I'm currently a firebase customer and is facing this pretty bad performance problem in firebase: Firebase load performance where the initial websocket handshake delays the loading of the entire app by a second or more. I'm curious if goinstant has this problem solved? The idea is that you make a traditional xhr first and then swap into websockets as the connection is established.

Original source