Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Increase Concurrent HTTP calls

I went through many posts for this on SO but not found any suitable solution

I got it from one of the answers for maximum concurrent connection to one domain limit

IE 6 and 7:      2
IE 8:            6
IE 9:            6
IE 10:           8
IE 11:           8
Firefox 2:       2
Firefox 3:       6
Firefox 4 to 46: 6
Opera 9.63:      4
Opera 10:        8
Opera 11 and 12: 6
Chrome 1 and 2:  6
Chrome 3:        4
Chrome 4 to 23:  6
Safari 3 and 4:  4

How to call more than the maximum http calls set by browsers to one domain.

I went through this

One trick you can use to increase the number of concurrent conncetions is to host your images from a different sub domain. These will be treated as seperate requests, each domain is what will be limited to the concurrent maximum.

IE6, IE7 - Have a limit of two. IE8 is 6 if your a broadband, 2 if you are dial up.

but i don't have scenario like this. I am fetching specific data which is pointing to one web server. how will I overcome this.

I am having 14 http calls to same server at starting which is the reason it takes long to load the actual page. How to increase performance of my website through concurrent ajax/http calls

like image 869
Ameya Deshpande Avatar asked Sep 14 '16 08:09

Ameya Deshpande


People also ask

How many concurrent HTTP requests can a browser make?

Chrome has a limit of 6 connections per host name, and a max of 10 connections. This essentially means that it can handle 6 requests at a time coming from the same host, and will handle 4 more coming from another host at the same time.

What are concurrent HTTP requests?

Concurrent HTTP refers to HTTP requests made at any point in time. For example, let's say there are 10000 users with valid sessions and 100 users are requesting to read the same resource over HTTP at any point in time then we have 100 concurrent HTTP requests.

What is concurrent connection limit?

Concurrent Connection: The maximum amount of simultaneous connections your server can handle.

How many connections can a browser have?

Most modern browsers allow six connections per domain. Most older browsers allow only two connections per domain. The HTTP 1.1 protocol states that single-user clients should not maintain more than two connections with any server or proxy. This is the reason for browser limits.


1 Answers

what you can do is dispatch that load to many subdomains. Instead of using only www, you use www1, www2, www3, www4 and round robin between those clientside.

You'll need to configure your web server so that www* subdomains ends up to the same place.

like image 92
Charly Koza Avatar answered Oct 14 '22 15:10

Charly Koza