4 ms·
The blocking in node.js happens at the C++ level. Your JavaScript thread is still free to process other requests while your initial request waits for a response
by jeremiep 14y ago
The blocking in node.js happens at the C++ level. Your JavaScript thread is still free to process other requests while your initial request waits for a response from the database.
However, without a memcache or redis layer in front of postgres I suspect the database machine will run out of resources way before the web server machine does.