April 9, 2014

Web Servers Performance Benchmark Serving Static Text File
(requests / second)

Benchmark Server:
Hardware: Amazon EC2 c3.large (2CPU, 3.7G RAM)
OS: Ubuntu Server 13
Serving File: helloworld.txt with content "Hello World!" (12 Bytes)
Result are taking peak performances of each server (easily repeatable)

Benchmark Client:
Hardware: Amazon EC2 c3.large (2CPU, 3.7G RAM)
OS: Ubuntu Server 13

Benchmark Time: 4/8~10, 2014

Server Software Web Sites:

Cherokee-1.2(C)
OpenLiteSpeed-1.3(C)
Nginx-1.4.1(C)
Lighttpd-1.4.3(C)
G-WAN-4.3.14(C)
BOA-0.94(C)
Resin-4.0.39(Java)
Apache-2.4.6(C)
Vibe.d-0.7.18(D)
Go Build in-1.2.1(Go)
Hiawatha-9.4(C)
Jetty-9.1.4(Java)
Tomcat-8.0.5(Java)
Tornado-3.2(Python)
PHP Build in-5.5.3(PHP)
Snap-0.9.4.2(Haskell)
Yaws-1.98(Erlang)
node.js-0.10.15(JS)


Quick Observations:
* The highest performance servers are in C-lang category. Then followed by D, Golang, Java and others.
* Cherokee, openLiteSpeed, Nginx, lighttpd and Apache are full featured mature web servers. 
* The top 4 servers: Cherokee, OpenLiteSpeed, Nginx and Lighttpd are very likely to be the top choices for serving static web files.

(more testing on bigger files and better hardware are coming)

Disclaimer: The above benchmark info are purely for research purposes. It does not mean to be 100% accurate. All servers are running with default installation settings. Use those info at your own risk.

Post a Comment