cURL / Mailing Lists / curl-library / Single Mail


Re: Recommended architecture for streaming over multiple sockets

From: Daniel Stenberg <>
Date: Tue, 8 Mar 2016 22:55:42 +0100 (CET)

On Tue, 8 Mar 2016, Ray Satiro via curl-library wrote:

> Do you mean you plan on leaving open ~1000 connections concurrently?
> Wouldn't curl_multi_wait [1] be a safer choice instead of curl_multi_fdset
> here?

Oh right, for any solution that intends to use perhaps more than a hundred
simultaneous transfers I strongly recommend going curl_multi_socket_action()
and event-based. Anything based on select/poll gets slow at some point with a
growing number of descriptors.

List admin:
Received on 2016-03-08