The aim of the project is to analyze the performance of spring-boot web against the spring-boot web-reactive framework. We are comparing:
- Spring-boot web - 1.5.10.RELEASE
- spring-boot web - 2.0.0.RELEASE
- spring-boot reactive-web - 2.0.0.RELEASE
For testing, we have a rest endpoint POST /persons
that accepts a json Person
object and returns an object with UUID.
Gatlin is used to run the tests and generate report.
mvn spring-boot:run
To run the benchmark, you'll need the backing service at the beginning.
cd person-registration-slow-service
mvn spring-boot:run
./gradlew loadTest -D SIM_USERS=5000