Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.22 KB

readme.markdown

File metadata and controls

46 lines (31 loc) · 1.22 KB

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
  1. after 2 minutes(depending on your computer) it will finish with a graph(if matplotlib ok).
  2. if doesn't have matplotlib installed, just run cat summary.txt

Credits

Idea from Akita post