Envoy event dispatcher

Like most high-performance servers, Envoy performs IO asynchronously using event loops on a relatively small number of worker threads. How Does Envoy's implementation work? Where does this functionality live? Libevent Envoy 's event dispatcher uses the libevent library that defines an abstraction layer on top of the platform-dependent asynchronous IO APIs such as epoll on Linux and kqueue on FreeBSD/Mac, similar to the libuv library used by node.js . Libevent also offers a buffer API and even an HTTP librar

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论