Long polling is a hack. Anyone who has had to scale it across more than a single CPU core on a single machine will know this.<p>TCP and WebSockets are stateful, HTTP is stateless.
So long polling is essentially:<p>Stateful -&gt; Stateless -&gt; Sateful<p>You start in a good place, then you add complexity to make it stateless and then you add even more complexity to roll back the statelessness and then you end up where you started... Except it&#x27;s 90% slower and you now have to use an armada of sticky load balancers to prevent the system from falling apart...