Basic tests against async implementantions like tornado, node.js, thin and twisted
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
nodejs
results
thin
tornado
twisted
plot.py
readme.markdown
result.png
run
summary.txt

readme.markdown

Async IO - Servers Benchmark

Goal

Just do some dumb benchmarks against non-blocking i/o web server implementations

Sorry

I'm not the best with python and shell script, please if can make some of scripts better, fork me and request pull ;-)

Requirements

  • bash(Linux, Mac and BSDs should had pre-installed)
  • ruby 1.8.7(1.9.1 works??) (for thin) - www.ruby-lang.org
  • python (for tornado and twisted) - www.python.org
  • apache ( if you want to compare normal apache versus async/evented implementations) - httpd.apache.org

Optionals

Running

  1. open a terminal
  2. clone the repository
  3. go to bench dir created by git clone(a.k.a: cd Async_Test)
  4. verify if requeriments and optionals are installed
  5. run the benchmark script
    • ./run 2000 200
    • where 2000 is number of requests and 200 is concurrency level
  6. after 2 minutes(depending on your computer) it will finish with a graph(if matplotlib ok).
  7. if doesn't have matplotlib installed, just run cat summary.txt

Credits

Idea from Akita post