[erlang-questions] Erlang Web Servers challenge

Zabrane Mickael zabrane3@REDACTED
Mon Jul 4 17:11:17 CEST 2011


Hi guys,

I'd like your help for this small Web servers challenge.

The idea is ver simple: measure "how fast" you can serve a "100 bytes" file (attached as "small.html") 
in "less than 01 second" by using one of the following web servers:

- Yaws (http://yaws.hyber.org/download/yaws-1.90.tar.gz)
- Mochiweb (https://github.com/mochi/mochiweb)
- Misultin (https://github.com/ostinelli/misultin)
- Cowboy (https://github.com/extend/cowboy)
- Bare metal web server using "gen_tcp"

The rules are very simple :

1. The first time you served the file, you MUST read it from disk.
All subsequent requests to that file can use any caching mechanism!

2. Any (hidden) trick is allowed (eg. prim_inet, SMP enabled ...)

3. Erlang versions R14B to R14B03

4. The HTTP client to use for this benchmark needs to be "Apache AB" (http://httpd.apache.org/docs/2.0/programs/ab.html) with:
$ ab -n 200000 -c 100 -t1 -k "http://127.0.0.1:8080/small.html"

I hope that the authors if these web servers will also contribute to this bench as they
know their software better than anybody else.

Challenge's open ;-)

Regards,
Zabrane

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110704/799f8d90/attachment.htm>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110704/799f8d90/attachment.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110704/799f8d90/attachment-0001.htm>


More information about the erlang-questions mailing list