Skip to content

mgrzeszczak/java-web-benchmark

Repository files navigation

java-web-benchmark

The goal of the project is to compare the performance of web server technology alternatives for the Java ecosystem, taking into account various usage scenarios.

TODO

  • add scenarios:
    • cpu heavy
    • cache read - using redis, reactive/blocking client respectively
  • get rid of spring-mvc-virtual-threads, use spring-mvc in docker-compose with additional env property for enabling virtual threads

How to build

Requires java21 + docker:

./build.sh

How to run

dd if=/dev/zero of=file.dat  bs=2M  count=1 # needed for docker compose
docker compose up -d

Running benchmark

python3 -m venv .venv
pip install -r requirements.txt
source .venv/bin/activate
./script.sh

Report

View the report

About

Benchmark of java web server technologies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published