Skip to content

Benchmark results

Dmitry edited this page Dec 30, 2016 · 2 revisions

Benchmark results according to Web Framework Benchmarks scenarios with wrk tool.

Hardware/software test configuration: Core i5-4460, 16GB RAM, Ubuntu 16.04 64-bit.

#6 Plaintext

mod_ngrest under nginx

$ wrk -t8 -c256 -d30s http://localhost/plaintext
Running 30s test @ http://localhost/plaintext
  8 threads and 256 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.10ms    5.50ms 219.96ms   94.20%
    Req/Sec    33.53k     8.87k   90.82k    66.89%
  8014407 requests in 30.09s, 1.20GB read
Requests/sec: 266315.37
Transfer/sec:     40.88MB

ngrest simple server (single-thread, epoll)

$ wrk -t8 -c256 -d30s http://localhost:9098/plaintext
Running 30s test @ http://localhost:9098/plaintext
  8 threads and 256 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.82ms  154.59us  13.92ms   98.55%
    Req/Sec    17.68k   468.15    37.75k    97.79%
  4223645 requests in 30.03s, 624.34MB read
Requests/sec: 140656.11
Transfer/sec:     20.79MB

mod_ngrest under apache2 (mpm-prefork)

$ wrk -t8 -c256 -d30s http://localhost/plaintext
Running 30s test @ http://localhost/plaintext
  8 threads and 256 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    23.36ms   41.53ms   1.76s    87.39%
    Req/Sec    10.70k     4.26k   32.32k    81.78%
  2522921 requests in 30.03s, 354.14MB read
  Socket errors: connect 0, read 0, write 0, timeout 93
Requests/sec:  84025.36
Transfer/sec:     11.79MB

mpm-worker and mpm-event modules are not supported.

Old benchmark results done with SoapUI