I/O completion ports
The Windows mechanism for high-performance asynchronous I/O, which libuv uses on Windows instead of epoll or kqueue.
In more detail
With completion ports the program starts an operation and Windows reports when it has completed, rather than when it could start. libuv hides this difference so Node.js code behaves the same everywhere.
Related terms
- epoll — The Linux kernel facility that lets one thread watch many file descriptors and be told which are ready for reading or writing.
- kqueue — The event notification facility on macOS and BSD systems, doing the job epoll does on Linux and also reporting file changes.
- libuv — The C library inside Node.js that runs the event loop, performs asynchronous I/O and manages the thread pool.
Taught in
- libuv Architecture: Event Demultiplexer & Thread Pool — Node.js Internals & Backend Services