Friday 2 June 2017

Why libuv use thread pool to run all file system operations

When i start nodejs process, i find it includes four threads with default config. the libuv documents explain it as use them threads to run all file system operations.

I want to know why libuv can't use IO-Multiplexing mechanism to run file system operations, like socket operations。



via bugall

No comments:

Post a Comment