News for hackers. Stuff that matters.
Re:Show HN: Fanout – Reverse proxy to push real-time data to... by basicsbeauty on Thursday September 28, 2017 @12:49PM (#15358672)
Hey, how is this diff from a simple WebSockets implementation?
Re:Show HN: Fanout – Reverse proxy to push real-time data to... by jkarneges on Thursday September 28, 2017 @01:02PM (#15358820)
A couple of main differences:

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.

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.
Re:Show HN: Fanout – Reverse proxy to push real-time data to... by tuukkah on Thursday September 28, 2017 @01:00PM (#15358797)
Or MQTT over WebSockets?
Re:Show HN: Fanout – Reverse proxy to push real-time data to... by jkarneges on Thursday September 28, 2017 @01:08PM (#15358865)
Although we have not actually tested this, it should be possible for applications to make Fanout speak the MQTT over WebSockets protocol (and if this is not possible then I'd consider it a bug).

So it's not that the two are incompatible options necessarily, but that you could use Fanout to scale out such an implementation.