Skip to content


Subversion checkout URL

You can clone with
Download ZIP
HTTP performance testing
Java C Ruby Erlang Shell Clojure Other
Branch: master
Failed to load latest commit information.
c C version: now with connection pooling. Phear.
clj-aleph Two separate Clojure projects
clj-jetty Fix bug in Clojure Jetty server
erlang Add Erlang
go Add CRLF
java-netty Java samples: Set to reuse address and close connections.
java-nio Java samples: Set to reuse address and close connections.
node Revert sending user agent
ruby Fix to load eventmachine in jruby
.gitignore Added java-nio and java-netty
.rvmrc Use RVM for ruby
Gemfile added Gemfile
Gemfile.lock Gemfile for ruby and jruby Updated README to include new java-nio/java-netty tests
hellod Add C in to the mix
hellod.rb Added java-nio and java-netty New run


Testing high performance HTTP "Hello World" servers.

Ruby - port 8080

gem install eventmachine http_parser.rb
ruby ruby/server.rb

Node - port 8081

brew install node
node node/server.js

Go - port 8082

easy_install mercurial
brew install go
export GOROOT=/usr/local/Cellar/go/r60.1
cd go

Clojure - port 8083

Install Leiningen from
cd clj ; lein run

Erlang - port 8084

brew install -v erlang --use-gcc
brew install rebar
cd erlang; ./shell
# in shell
> application:start(hello).

NOTE: you need the trailing '.' in the shell.

C / libev - port 8085

brew install libev (or apt-get install libev libev-dev)

Java / Simple Java NIO - port 8086

cd java-nio

Java / JBoss Netty (w/ NIO) - port 8087

cd java-netty


ab -n 10000 -c 100 http://localhost:8080/

or 8081 or 8082...

Something went wrong with that request. Please try again.