2 ms·
It includes a test with file streaming on Node.js, that bypass reading the file and write to socket via the Javascript loop completely. Also file IO are heavil
by ww520 15y ago
It includes a test with file streaming on Node.js, that bypass reading the file and write to socket via the Javascript loop completely.
Also file IO are heavily cached by the OS. You can bet that one file is read from memory most of the time. Disk IO is pretty much out of the equation.