Node.js is a software platform for scalable server-side and
networking applications. Node.js applications are written in
Windows, Mac OS X and Linux with no changes.
Node.js applications are designed to maximize throughput
and efficiency, using non-blocking I/O and asynchronous
events. Node.js applications run single-threaded, although
Node uses multiple threads for file and network events.
execute code, and a large percentage of the basic modules
server library, making it possible to run a web server without
Apache or Lighttpd.
I/O needs to be done differently.
Many web applications have code
var result =
db.query("select * from T");
// use result
What is the software doing while it
queries the database?