curl-library
Re: Recommended architecture for streaming over multiple sockets
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 Mar 2016 22:55:42 +0100 (CET)
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.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-03-08