networknt / microservices-framework-benchmark

Raw benchmarks on throughput, latency and transfer of Hello World on popular microservices frameworks
MIT License
705 stars 127 forks source link

Javalin HTTP2 reconfigured - fallback to HTTP1.1 + TLS #66

Closed JindrichPilar closed 4 years ago

JindrichPilar commented 4 years ago

Fixes problem with HTTP2 as discussed in https://github.com/networknt/microservices-framework-benchmark/pull/65

stevehu commented 4 years ago

The first two results are Javalin and the third one is light-4j. I don't see the difference between 8443 and 9443 though. Thanks a lot for the fix.

steve@freedom:~/networknt/microservices-framework-benchmark$ wrk -t4 -c128 -d30s https://localhost:8443 -s pipeline.lua --latency -- / 16
Running 30s test @ https://localhost:8443
  4 threads and 128 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    35.42ms   48.58ms 584.72ms   86.14%
    Req/Sec    85.12k    37.74k  154.54k    67.56%
  Latency Distribution
     50%   13.26ms
     75%   49.94ms
     90%  103.85ms
     99%  211.68ms
  9668537 requests in 30.08s, 1.18GB read
Requests/sec: 321472.58
Transfer/sec:     40.16MB
steve@freedom:~/networknt/microservices-framework-benchmark$ wrk -t4 -c128 -d30s https://localhost:9443 -s pipeline.lua --latency -- / 16
Running 30s test @ https://localhost:9443
  4 threads and 128 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    32.78ms   52.51ms 454.57ms   87.40%
    Req/Sec    83.09k    27.62k  131.43k    75.63%
  Latency Distribution
     50%    8.33ms
     75%   38.27ms
     90%  104.96ms
     99%  223.27ms
  9382031 requests in 30.08s, 1.14GB read
Requests/sec: 311899.44
Transfer/sec:     38.97MB
steve@freedom:~/networknt/microservices-framework-benchmark$ wrk -t4 -c128 -d30s https://localhost:8443 -s pipeline.lua --latency -- / 16
Running 30s test @ https://localhost:8443
  4 threads and 128 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.21ms    4.12ms 170.77ms   96.13%
    Req/Sec   630.56k   118.06k  766.06k    93.77%
  Latency Distribution
     50%  421.00us
     75%  846.00us
     90%    2.42ms
     99%   12.24ms
  71531728 requests in 30.02s, 8.33GB read
Requests/sec: 2383021.41
Transfer/sec:    284.08MB