curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using libcurl sending much more HTTP request in parallel

From: Jack via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 15 Aug 2017 18:24:00 +0800

Thanks,I modified my application, but I still have HTTPS performance issue.
I send 40 https request at the same time. They all create new connection
and connect server.
I found CPU burst to 56%, then down, this high CPU time duration about
500ms .
I found https_connecting, maybe in handshake cause this, I try
change curlssl_connect_nonblocking to curlssl_connect, this will reduce
CPU(25%),
change from non-block to block, I think this is not make sense, maybe have
other issues.

Do you have any good idea for tuning this issue?

On Tue, Aug 15, 2017 at 1:59 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Fri, 11 Aug 2017, Jack wrote:
>
> I have another question,for high performance,can i firstly create many
>> easy handles,then use them,such as memory poll,this will avoid to create
>> and destroy frequently?
>>
>
> Sure!
>
> --
>
> / daniel.haxx.se

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-08-15