WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
18431
[Soup] Limit the number of connections
https://bugs.webkit.org/show_bug.cgi?id=18431
Summary
[Soup] Limit the number of connections
Luca Bruno
Reported
2008-04-11 12:40:13 PDT
Hello, i think the soup backend of the GTK+ port should tweak the number of maximum total connections and connections per host. Currently soup uses 10 totally and 2 per host by default. For me 20:2 is currently the most responsive choice. Instead incrementing the max conn per host seems speeder for larger web sites but takes more time for first contents to be rendered. These informations are from my slow 256k connection, so you might want to don't take care of.
Attachments
maxconnections.patch
(2.79 KB, patch)
2009-09-06 23:57 PDT
,
Xan Lopez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dirk Schulze
Comment 1
2008-04-12 14:19:24 PDT
It makes no difference to me to take total connections up to 20 but sites load a bit faster with increasing connection per host to 5.
Xan Lopez
Comment 2
2009-09-06 14:25:40 PDT
It would be good to do this before 2.28 I think. What are the defaults for Firefox? IIRC bdash said on IRC Safari uses 6 as the limit for connections per host (no idea about the total limit).
Dan Winship
Comment 3
2009-09-06 16:42:53 PDT
http://stevesouders.com/ua/index.php
says Firefox does 6 per host and "more than 60" total, and Safari is 4/60+. (His test doesn't try to measure total connections beyond 60, so it doesn't end up figuring out what the actual total limit is. It's possible there's none.)
Xan Lopez
Comment 4
2009-09-06 23:57:41 PDT
Created
attachment 39133
[details]
maxconnections.patch OK, using 60/6 since that's what most people seem to be using. It really improves some pages quite a bit, like reddit.com or planet gnome.
Xan Lopez
Comment 5
2009-09-06 23:58:33 PDT
(In reply to
comment #4
)
> Created an attachment (id=39133) [details] > maxconnections.patch > > OK, using 60/6 since that's what most people seem to be using. It really > improves some pages quite a bit, like reddit.com or planet gnome.
Well, or *seem* to be using anyway, since as Dan says the total limit might be unbounded. 60 seems like a reasonable value anyway.
Xan Lopez
Comment 6
2009-09-07 06:39:17 PDT
Comment on
attachment 39133
[details]
maxconnections.patch r+ by gustavo on IRC, which has problems accessing bugzilla.
Xan Lopez
Comment 7
2009-09-07 06:39:37 PDT
Landed in
r48111
, closing.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug