libuv

The C library inside Node.js that runs the event loop, performs asynchronous I/O and manages the thread pool.

In more detail

libuv hides the differences between operating systems: it uses epoll on Linux, kqueue on macOS and I/O completion ports on Windows to learn when sockets are ready. Work the kernel cannot do asynchronously, such as most file operations, some DNS lookups and some crypto, runs on its thread pool instead. Its function names start with uv_, such as uv_run.

Related terms

Taught in

References