суббота, 21 января 2012 г.

NodeJS vs Netty

Bencmarked following two Hello World async HTTP servers

It takes some time for Netty to warm up, but it is able to handle something like 40% more requests per sec then NodeJS.

Apache Bench command line

ab -r30000 -c100 http://localhost:<port>/



2 комментария:

  1. Typical php-codemonkey would simply stop reading after the first snippet, silently committing to 40% worse performance - 6 loc vs 100+ loc... :-)

  2. Typical java-hater would say too much code for this simple opperation (p.s: look at playframework)