3 ms·
Was your client sending the requests concurrently? If I do that and run "ab -n 100 -c 100" (for 100 requests run with concurrency 100) the benchmark takes almos
by simonw 17y ago
Was your client sending the requests concurrently? If I do that and run "ab -n 100 -c 100" (for 100 requests run with concurrency 100) the benchmark takes almost exactly 2 seconds to execute all 100 requests.
- ra88it 17y agoI guess not - it worked when I followed your suggestion. Thanks! I was naively cranking out a bunch of tabs in Firefox really quickly. :) I guess Firefox doesn't make concurrent requests when it's the same URL...?
- pilif 17y agoFirefox only makes two (by now maybe four) concurrent requests to the same server as mandated by the HTTP protocol.
- pmjordan 17y agoIt's technically not mandated, but recommended. Servers need to be able to deal with more anyway, as proxy servers are recommended to open up to 2 * [no of clients] connections to upstream servers.
- simonw 17y agoFirefox has a maximum of 2 connections per host - though it's being upped to 6 in Firefox 3.5.