cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Maximum number of parallel connections?

From: Felix E. Klee <felix.klee_at_inka.de>
Date: Sat, 19 Feb 2011 18:29:46 +0100

On Fri, Feb 18, 2011 at 10:12 PM, Daniel Stenberg <daniel_at_haxx.se>
wrote:
> If you use that many connections (really, even you even just use them
> in the hundreds) you really should use the multi_socket anyway to
> reach proper performance:
> http://daniel.haxx.se/docs/poll-vs-select.html

Thanks - I consider changing to multi_socket, then.

> If you do multiple connections to the same server(s), many servers of
> course reject too many connections coming from the same client and in
> general reject connections once it reaches its limit.

Naturally. Also, many downloads in parallel slow down each individual
download. On the other hand, some servers take a long time to connect
to. A balance has to be found.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-19