Re:The future of web software is HTML over WebSockets
by dynamite-ready on Friday February 26, 2021 @04:37AM
(#26272995)
Not quite. With requests over HTTP, there's an overhead for every single request. For websockets, you make one fat handshake/upgrade request to start with, and then all successive "requests" (frames) have no headers. So depending on what you're doing, and how you do it, it can be more efficient.
Re:The future of web software is HTML over WebSockets
by MaxBarraclough on Friday February 26, 2021 @07:22AM
(#26274047)
> With requests over HTTP, there's an overhead for every single request.
Doesn't this go away with HTTP/3 and wherever QUIC is used?
This seems like unnecessary overhead for any startup software companies, costing both extra time and money while overloading your server right out the gates.
Instead of expecting 100 requests per min from say like 20 users, I can now expect 1000s+ to my server because I'm sending every keystroke to the server ???
That means I'll need a super expensive instance to handle all those users and this is in the extremely conservative use-case of 20 users at once.
No thanks.