Just another WordPress.com site
querying language for several nonrelational databases, including CouchDB and Mongo, and it’s used as
a general-purpose language in server-side platforms such as Node.js.
Node.js has been around since 2009 and gained wide acceptance very quickly. Architecturally, it’s
similar to Sinatra, in that it doesn’t apply the MVC pattern. It is a more low-level way of connecting
HTTP requests to your code. Its key innovations are as follows:
- Being completely asynchronous: Node.js’s API simply doesn’t expose any way of blocking a thread while waiting for input/output (I/O) or any other operation. All I/O is implemented by beginning the operation and then later receiving a callback when the I/O is completed. This means that Node.js makes extremely efficient use of system resources and may handle tens of thousands of concurrent requests per CPU (alternative platforms tend to be limited to about 100 concurrent requests per CPU).