Re:Show HN: Fanout – Reverse proxy to push real-time data to...
by Xeoncross on Thursday September 28, 2017 @02:19PM
(#15359537)
Socket.io also proxies websocket events as HTTP if needed.
So is this is basically socket.io as a service?
Re:Show HN: Fanout – Reverse proxy to push real-time data to...
by jkarneges on Thursday September 28, 2017 @03:27PM
(#15360003)
Interesting! Do you have a link to any info about this?
Edit: or, are you talking about HTTP fallback on the client side, when WebSockets aren't available? Fanout can do that too, but what I was talking about earlier was how Fanout can speak WebSockets to the client and HTTP to the server (like an inverted sockjs/engine.io).
Re:Show HN: Fanout – Reverse proxy to push real-time data to...
by kondro on Thursday September 28, 2017 @08:04PM
(#15361787)
No, the bit that is different about Fanout is that the HTTP servers don’t need to necessarily know about the fact they’re coming from a persistent connection. The backend servers remain as stateless HTTP servers.
1) Fanout can proxy WebSocket client events as as series of HTTP requests to the origin server. This means you can use a normal web backend or FaaS to manage the connections, which is even simpler than having to write a custom stateful server process.
2) Connections are delegated to Fanout, and we handle 1-to-many propagation, for high scalability.