[erlang-questions] Erlang Web Servers challenge

Loïc Hoguin essen@REDACTED
Mon Jul 4 17:38:40 CEST 2011

On 07/04/2011 05:11 PM, Zabrane Mickael wrote:
> 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"

I don't really understand where the challenge is.

Also yaws should be faster considering it supports sendfile whereas the
others don't without much additional work beforehand. So regardless of
the server being used you'd probably just be benchmarking sendfile and
not the servers.

Loïc Hoguin

More information about the erlang-questions mailing list