curl / Mailing Lists / curl-library / Single Mail

curl-library

libcurl https performance issue

From: fan jinjie via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 1 Aug 2017 14:44:40 +0800

Hi all,
     My application using libcurl to sending HTTP and HTTPS request. My
Application has two thread.
Main thread receive send request queue, anther thread send HTTP and HTTPS
request, using epoll to read/write. My application using asynchronous.
I use curl_multi_* interface.

As I test, when thread send more HTTPS requests at the same time, thread
consume much CPU,
but send more HTTP requests at the same time, thread consume less CPU.

How to improve performance for HTTPS? Maybe using multithread to send HTTPS
request?
Thanks!

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