25

First, I want to make clear that I am not talking about this question How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers? , which is about simultaneous requests.

Instead, I want know if there is a limit on the number of pending ajax requests, before the browser potentially starts cancelling them or throwing errors.

Running some simple tests, I've seen that when the limit of about 6 simultaneous requests is hit, the browser will start queuing requests in a graceful manner. Once a 'slot' becomes available, it is used and a new request is sent to the server.

I have also seen that Chrome, Firefox and even IE will gracefully handle a queue of about 100 requests.

6
  • 4
    as you're already testing aren't you the best person to answer this question? Commented Aug 19, 2011 at 18:19
  • 1
    I would guess that memory is the only limitation. I don't think there is much of a resource impact of queued requests. I guess testing-to-destruction will be the only way to know for sure. Commented Aug 19, 2011 at 18:43
  • This : stackoverflow.com/questions/561046/… Commented Aug 20, 2011 at 0:37
  • 5
    As per firefox 3.6.18 config , the network.http.max-connections is 30 ,network.http.max-connections-per-server is 15,network.http.max-persistent-connections-per-server is 6,network.http.pipelining.maxrequests is 4 . From this can you find something??? I'm not sure what this is about! Commented Aug 23, 2011 at 11:21
  • 1
    I'm not sure I understand your distinction between 'simultaneous' requests and 'pending' requests..if a request hasn't completed, then it is open, and hence by definition is 'simultaneous' with any requests open at the same time. If I did misunderstand something could you clarify please? Commented Aug 23, 2011 at 21:22

1 Answer 1

2

I also guess that it's indicated from maximum number of current opened connection and here's the situation in IE Max-Connections and this thread also may help How many concurrent AJAX requests are allowed in popular browsers?

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.