Node.js

February 2, 2010

Node.js is a relatively new project which implements a server side non blocking framework in JavaScript, which runs on Google's V8 JavaScript engine. It only works on Linux/Mac OSX type machines at the moment

Volume Testing

results in a throughput of 6084.24 requests per second (1000 requests, 100 concurrent). Testing again with 10,000 requests gives 7906.68 request per second.

Processing GET parameters

Here's an example of some server code that will receive two query parameters and then print out their values in the returned page. In this case, whatever is passed through as the q and f parameters will be directly printed in the page, along with some other details.