You are viewing a single comment's thread from:

RE: Update your STEEM apps! Big changes coming for 3rd party developers

in #steemitdev7 years ago

What about the efficiency of web sockets vs thousands of individual https connections? I'm sure caching will add a lot of efficiencies but a lot is lost by dropping sockets.

Sort:  

When considering millions of connections spread across many servers, short-lived https connections are much easier to load balance and plan for than long-lived websockets. Websockets certainly have their advantages, but in this case https is much more appropriate, and also easier for 3rd party developers to pick up and use.

https connections are exactly the same as wss connections, except they're "upgraded" https connections. Also, the fact they are now using keep-alive would negate your point that they're extracting some benefit by using "short-lived https connections".

Except, they do not scale well. Go try to load balance millions of websocket connections and see how that goes :)

Exactly.
We have difficulties with performance already. This approach will only worsen the situation.

Loading...