curl / Mailing Lists / curl-library / Single Mail


libcurl https performance issue

From: fan jinjie via curl-library <>
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

Received on 2017-08-01