Hello there, So, we're running both client and webserver on a same machine (CentOS 7), the client is posting around 700 REST requests per second to webserver ( 127.0.0.1:8880).
The problem is about 30% of requests getting failed with CURLE_COULDNT_CONNECT (7). The client is using curl easy handlers to communicate with server, (multi is not an option in the context) and to improve concurrency the client maintains around 1024 easy-handlers. Still we're not sure what is bottle-neck here. Is it client+libcurl or webserver or even machine. ps1: We tried to tune the Linux kernel a little bit (increased buffer sizes, file handlers, connection related params and so on) but no luck ps2: we've build the client with both libcurl 7.29 and 7.72 but same result
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html