curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: curl-multi-socket interface too slow

From: Aleh Linkin via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 30 May 2022 17:23:36 +0300

I understand. Thank you.
But why multi_socket_action eats about twice time more CPU then
curl_multi_perform called in cycle with 10ms pause?

On Mon, May 30, 2022 at 5:00 PM Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Mon, 30 May 2022, Aleh Linkin via curl-library wrote:
>
> > I guess that I do something wrong but can't find the problem.
>
> It's too generic to answer specifically, and I really don't have time to
> analyze your code for you. You need to investigate where the bottle-necks
> are;
> DNS, TLS handshake, TCP establishment, RTT, syscalls, bandwidth,
> server-side
> slowness or similar.
>
> We can't tell how fast the application should be able to run in your case
> as a
> theoretical max so it's not possible to say where or even if there is a
> problem.
>
> --
>
> / daniel.haxx.se
> | Commercial curl support up to 24x7 is available!
> | Private help, bug fixes, support, ports, new features
> | https://curl.se/support.html
>


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-05-30