I am attempting to benchmark the 2.2.0-SNAPSHOT version of Gatling, running a web server and Gatling on the same Red Hat GNU/Linux box (4 CPUs, 15 GB of RAM) to avoid any network latency. I am also using htop and jvmtop.
I am using Go’s Revel web framework which claims ‘to serve three to ten times as many requests as Rails’ (which doesn’t exactly aspire much confidence in me). Revel seems to cave in after 2000 r/s using the default “Hello World” application and this sim:
https://github.com/bbc/gatling-load-tests/blob/master/src/test/scala/bbc/benchmark/Benchmark.scala
I looked at Rust’s, Iron web framework which claims to have been benchmarked at “84,000+ requests per second for hello world” using wrk (though not sure where that figure comes from (https://github.com/iron/iron/wiki/How-to-Benchmark-hello.rs-Example)). However, I am receiving a Java connection refused error on localhost even though I can curl the sample webpage. I tried Lua’s Lapis which has nginx thrown in, but it has been a pain to install.
I wonder if anyone could suggest a web server/framework I could use, and if it would be worth standardising these benchmarks which can be run pre-release (I don’t mind doing this)?
https://revel.github.io/
https://github.com/iron/iron
http://leafo.net/lapis/
Many Thanks
Aidy