> On Nov 27, 2020, at 5:29 AM, James Read via curl-library > <curl-library@cool.haxx.se> wrote: > > Hi, > > On Fri, Nov 27, 2020 at 7:22 AM Daniel Stenberg <dan...@haxx.se> wrote: > On Fri, 27 Nov 2020, James Read wrote: > > > Has anybody ever actually succeeded in making a high performance > > application > > with epoll/libcurl as the back end. > > Yes. Although most people I know of use an event library in between and not > epoll directly, but they would still eventually use epoll on Linux machines. > > I see. Any projects that you can give us as examples? Any that are open > source?
In Perl there is a libcurl binding called Net::Curl. A library of mine, Net::Curl::Promiser, wraps Net::Curl with a promise interface on top of 3 popular Perl event interfaces, any of which can use EV or UV as an event loop backend, which will in turn use epoll on Linux. N::C::P additionally includes an example of interfacing directly with epoll. https://metacpan.org/pod/Net::Curl::Promiser It’s not a complete application, but it’s awfully close (and is used in some other, closed-source code I work on). Of course, I don’t know if it counts for you as “high-performance”, given that it‘s a scripting language. -Felipe Gasper ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html