On Mon, May 30, 2022 at 12:11 PM Aleh Linkin via curl-library < [email protected]> wrote:
> Hi, developers! > I have application with libcurl uses simple multi interface and do 1500 > requests per second without any problems with about 35% CPU. > I've decided to try curl_multi_socket interface because "it also offers a > much more high-performance API that will make a significant difference for > applications using large numbers of simultaneous connections." > My application uses epoll so I've created code based on it and > ephiperfifio. example. > As a result my application can't handle 1500 requests per second and > starts failing them with timeout. Moreover it uses much more CPU (50% on > 1500 RPS). > I guess that I do something wrong but can't find the problem. > Could you help me, please? > I've been working on this problem for years now and haven't got much of any useful response from this list. I have come to believe the problem is with the TCP/IP stack and not the epoll based code. James Read > > My code here: https://godbolt.org/z/Gb4Gn3jro > > Sincerely, > Oleg > > -- > Unsubscribe: https://lists.haxx.se/listinfo/curl-library > Etiquette: https://curl.haxx.se/mail/etiquette.html >
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
