- From: Eric Lawrence <ericlaw@exchange.microsoft.com>
- Date: Thu, 6 Mar 2008 09:09:40 -0800
- To: Jamie Lokier <jamie@shareable.org>, Mark Nottingham <mnot@yahoo-inc.com>
- CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
- Message-ID: <0802E0A3-019C-4C05-8297-C8F0944678FD@mimectl>
<<Should I ever implement this, I will try using multiple DNS names for the same server and see if that is effective. If not, I will have to use multiple IPs as well as multiple DNS names.>> Multiple DNS names alone should be completely effective. <<If a new revision of HTTP still has a recommended small limit, I think it would be useful to have a request or response header meaning "don't count this connection towards the usual limit for the duration of this request".>> Agreed. This is something that has come up in other areas, particularly those trying to build COMET-style applications. Also suggested was enabling the server to communicate, via a response header, the desired maximum connections. <<I'm under the impression that the 2 connection limit is more rigorously enforced by IE than Mozilla, as I have seen comments about needing to work around it in discussions about delayed-GET techniques, but I haven't tested this.>> Firefox2+ has a very cool feature whereby they respect the 2-connections suggestion, unless a request has been queued for more than maxStartDelay seconds (10, by default, IIRC). At that time, the request just goes out of the wire, ignoring the limit. They then allow up to a maximum of 8 connections per server. Opera simply defaults to a max of 8 connections per server. For IE8, we have raised the default connections per host limit to 6 if the user is on a non-modem connection. http://almaer.com/blog/death-of-www1-www2-thanks-to-connection-limit-raising Eric Lawrence Program Manager Internet Explorer - Security ________________________________ From: ietf-http-wg-request@w3.org [ietf-http-wg-request@w3.org] On Behalf Of Jamie Lokier [jamie@shareable.org] Sent: Wednesday, March 05, 2008 4:01 PM To: Mark Nottingham Cc: ietf-http-wg@w3.org Group Subject: Re: Connection limits Mark Nottingham wrote: > * resources have been spread across multiple servers, just to work > around this limitation Yes. Or multiple DNS names to the same server - anyone know if that's effective at getting more connections? > * servers purposefully answer HTTP/1.0, because some clients will > use four connections with them Ooh, that's interesting, thanks. I have a problem with the 2 connections advice in RFC 2616 (it's theoretical since I haven't implemented this). I would like to produce a web page which is fetching server-driven events using a "delayed response" model, which needs 3 connections: 1. One for ordinary content on the page: images etc. 2. One for the delayed response stream, using the optimal method detected for that client. 3. One for a second delayed response stream used to probe the optimal method for that client, without knowledge of specific clients, and without knowing the unknowable intermediaries, by trying methods which may fail (timeouts, intermediaries timeout, intermediaries buffer partial response without forwarding, client bugs), and upgrading the primary delayed response stream to use better methods when they are detected as reliable for this client and its intermediaries. Should I ever implement this, I will try using multiple DNS names for the same server and see if that is effective. If not, I will have to use multiple IPs as well as multiple DNS names. More connections are also required for web pages which contain _multiple_ applications of this style at the same time, running independently on the same web page (perhaps written by different vendors), but connecting to the same servers. > Also, considering the wider availability of event-driven Web servers > and intermediaries, resource limitations on servers isn't necessarily > the problem it once was. > > What do people think? Should we consider upping this to 4? There's > also the possibility of negotiating a higher number of connections hop- > by-hop (but that would be outside of HTTPBIS). If a new revision of HTTP still has a recommended small limit, I think it would be useful to have a request or response header meaning "don't count this connection towards the usual limit for the duration of this request". I'm under the impression that the 2 connection limit is more rigorously enforced by IE than Mozilla, as I have seen comments about needing to work around it in discussions about delayed-GET techniques, but I haven't tested this. -- Jamie
Received on Thursday, 6 March 2008 17:10:07 UTC