AWS vs node.js Wiki Article Migrated

One more down! Only a few more to go. The latest Wiki article I’ve migrated is my now 1 year old AWS vs node.js shootout. Yea, it’s getting a bit long in the tooth. I’m trying to convince Kim Rostgaard Christensen to help me redo it, perhaps with some more interesting workloads added to the mix.

But for now you’re going to have to make do with the old article. 🙂

Ada Web Server (AWS) vs node.js

As some of you might be aware of, I’m in the process of moving all my PHP/XSLT code to Ada/AWS. The is a huge project that not only entails porting several 100KLOC to Ada, but it also means I have to learn to use AWS to its fullest.

So far that has been a mostly pleasant experience. AWS is a very nice piece of software.

But then yesterday I read this on the AWS mailing list:

A follow up to Thomas’s benchmark. I did a test with a hello world server written in node.js (a javascript framework for writing faster servers). It has the reputation of being very fast. I compared with the hello world demo provided with AWS, compiled with -O2.
Although AWS has a faster transfer rate, it is actually slower than a server written in javascript (fewer requests per second and time to process the requests longer).

This was written by Emmanuel Briot as a reply to a post where I had presented some early benchmarks of an AWS setup. In his post he showed that a node.js HTTP server was _faster_ than AWS.

Naturally I could not let that one sit unchallenged, so I grabbed myself a copy of node.js (both 0.2.6 and 0.3.6) and set out to do my own comparison.

The results of that little adventure can be found here, and I’m pleased to say that order has been restored to the universe. 🙂