node.dbslayer.js

node.dbslayer.js is a very basic and easy-to-use library to connect to a DBSlayer server, which effectively provides non-blocking and scalable MySQL support for Node.JS.

DBSlayer benefits include:

It's Node.JS/V8/JavaScript friendly, since the the messages are delivered in JSON format over HTTP.

Developed by the New York Times, it's designed with scalability in mind, doing connection pooling for you. This is what makes DBSlayer arguably better than implementing an async MySQL client directly into Node (through mysac for example).

Aside from query, the commands stat, client_info, host_info, server_version and client_version are available, which provide the respective information about the server. In order to preserve somewhat backwards compatibility, these have seperate events per function.