java-http icon indicating copy to clipboard operation
java-http copied to clipboard

Performance/Benchmark suite

Open jabley opened this issue 2 years ago • 1 comments

Would it be possible to publish the benchmark configurations? The netty numbers look odd, given Twitter and Apple do good traffic numbers with netty-based systems.

jabley avatar Oct 26 '22 09:10 jabley

Yes.. we need to do this. There is a bit of info in the README.md

The load test configuration is set to 10 clients with 500,000 requests each. The client is Restify which is a FusionAuth library that uses HttpURLConnection under the hoods. All the servers were HTTP so that TLS would not introduce any additional latency.

But we need to publish a boiler plate harness so that we can get more eyes on it to ensure we are measuring it objectively.

Here are some of the relevant repos and libraries:

  • restify
    • https://github.com/inversoft/restify
  • prime-mvc
    • https://github.com/prime-framework/prime-mvc
  • fusionauth-load-tests
    • https://github.com/FusionAuth/fusionauth-load-tests
    • https://github.com/FusionAuth/fusionauth-load-tests/blob/master/src/main/resources/HTTP.json
    • https://github.com/FusionAuth/fusionauth-load-tests/blob/master/src/main/java/io/fusionauth/load/JavaHTTPLoadTestWorker.java

robotdan avatar May 31 '23 17:05 robotdan