How to solve Chrome’s 6 connection limit when using xhr polling

Use a real webSocket, rather than XHR Polling. webSocket connections do not count toward the http connection limit to the same origin.

There is a separate global limit to how many webSocket connections can be created, but it is a high number (200 in Firefox – not sure what it is exactly in Chrome).

Here are some references on this topic:

Leave a Comment