Monthly Archives: March 2016

Higher-level database operations with Node.js

One of the underlying rules of using Node.js is that all operations that involve external resources should be non-blocking, and therefore handled asynchronously. ┬áThe reason is that Node.js JavaScript code runs as a single thread, and if that code is handling the simultaneous activities of lots of users, then anything that blocks this thread would […]