SiQLuxe / spring-boot-1-vs-2-performance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-boot-1-vs-2-performance

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.

Start the app with

mvn spring-boot:run

Start the backing service

To run the benchmark, you'll need the backing service at the beginning.

cd person-registration-slow-service
mvn spring-boot:run

Run tests with

./gradlew loadTest -D SIM_USERS=5000

About


Languages

Language:HTML 67.2%Language:JavaScript 16.7%Language:CSS 11.5%Language:Kotlin 4.4%Language:Scala 0.2%