Hey folks! Today we’re diving a little deeper in the nodejs event loop (libuv) and looking at a bit of its Linux implementation. We’re also focusing on asynchronous IO using non blocking operations. We mention select vs poll vs epoll, libuv and the event loop phases.
Sources:
www.scottklement.com/rpg/sock...
suchprogramming.com/epoll-in-...
unix.stackexchange.com/questi...
idndx.com/2014/09/01/the-impl...
Chapters
00:00 Introduction
00:50 Overview of the flow
04:52 Threads concurrency model
06:34 Nonblocking IO
09:00 Select, poll, epoll
12:24 epoll c code example
15:16 libuv source code one more time
16:09 outro
30 июн 2024