I am using 10 threads to connect to https connection. Curl is taking 100% of cpu.
How can I reduce that ?
Each Thread Code is like
curl_connection = curl_easy_init();
Now using same connection
setting some header then
curl_easy_perform(curl_connection);
You can reduce it by running other tasks, then the tasks will split the CPU. Otherwise, you want the CPU to do be doing as much useful work as possible. It’s not like you can save it for later.