yesodweb/benchmarks — pull request #7 by martinrehfeld (2012-10-21 22:06:01+00:00)
Title: Erlang

Hi Michael,

I just added an Erlang-based pong benchmark -- please give it a spin. It is based on the relatively young [Elli](https://github.com/knutin/elli) webserver. Elli is probably the Erlang webserver that is modeled closest to the WAI/Rack/... interface, so the results should be pretty interesting.

Some quick testing on my local machine showed Warp and Elli head to head.

I also tried running the full suite on the EC2 AMI mentioned in `setup.sh`, but wasn't really able to get it working in an automated fashion (I tend to attribute the problems to the rather old Ubuntu version, BTW PHP, Ruby RVM and Libev also had installation errors, too). Anyway, the following quick instructions will also work on good old Ubuntu 10.10.

cd ~/benchmarks/pong/erlang
./rebar get-deps compile # build
./bin/start_console # start in foreground
... run httperf against port 3000 as usual ...

What numbers to you see?

Looking forward to your feedback,
Martin