O'Reilly logo
  • Dien Sanh Luong thinks this is interesting:

Node is single-threaded. This means that every visitor or session is added to that one thread. So it is possible for a two-second database write operation to hold up every other user for two seconds. Multiply this by just 10 users and you've got a big problem on your hands.


Cover of Mongoose for Application Development


That is not accurate, according to the following:


I/O operations such as database writes are performed in other threads, separate from the event loop thread.