Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Erlang #7

merged 6 commits into from Oct 23, 2012


None yet
2 participants

martinrehfeld commented Oct 21, 2012

Hi Michael,

I just added an Erlang-based pong benchmark -- please give it a spin. It is based on the relatively young 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, running it interactively, 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 do you see?

Looking forward to your feedback,


gregwebs commented Oct 23, 2012

thanks! Are there any references that compare elli to other erlang servers?


martinrehfeld commented Oct 23, 2012

Hi Greg,

do you mean comparing in terms of performance? Then the answer would be: AFAIK no, nothing serious.

Architecture/feature-wise some interesting arguments have been exchanged in the the author's release announcement and the associated Hacker News thread. Performance is also being touched upon.

I chose Elli because it is the most bare-bones implementation, with an almost identical implementation scope to Warp. And yes: judging from personal experience, it will be faster than the competition in most scenarios. It would be interesting to directly compare it to Cowboy, though. (Cowboy being the only app-server type alternative, not considering Yaws as it is a general-purpose, Apache-like, webserver).

If you would be interested, I can also offer to add another PONG bench using Cowboy.



gregwebs commented Oct 23, 2012

Thanks for the links. Looks like Ellis is a good choice and as fast as any Erlang alternative.

I am looking forward to publishing new benchmarks that include this and use the latest version of Warp that has undergone performance enhancements.

@gregwebs gregwebs added a commit that referenced this pull request Oct 23, 2012

@gregwebs gregwebs Merge pull request #7 from martinrehfeld/erlang

@gregwebs gregwebs merged commit 464260d into yesodweb:master Oct 23, 2012


martinrehfeld commented Oct 23, 2012

Very much looking forward to seeing the latest shootout :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment