by applepple · 5y ago · 0 comments
I was making this argument for years. WebSockets was designed for bidirectional data exchange between client and server. On the other hand, HTTP2 was designed for pushing static resources to the client to speed up loading of front ends (it was meant to make bundling front-end scripts redundant). HTTP2 was not designed for bidirectional data exchange over a stateful channel.
If it was properly stateful, then sticky sessions would not be required. With WebSockets, sticky sessions are not required when load balancing.