This repository is a practical repo about springboot-webflux
.
In addition, this has sample code to compare with spring-mvc
in performance and resistance for backpressure,
if you'd like to know accurate performance, I recommend you to deploy programs to servers
This repository dependes on
- java
- 1.8
- docker
- 17.12 or more
- docker-compose
- 1.18.0 or more
docker-compose up &
execute this command, you can boot 5 containers.
- application
- use spring-mvc
- use spring-webflux
- mock
- use openresty
- tools
ex)
./gradlew gatlingRun-computerdatabase.HelloSimulation`
- spring-mvc
http://localhost:8081/
- spring-webflux
http://localhost:8082/
- Prometheus
open http://localhost:9090/
with your browser.
- Grafana
open http://localhost:3000/
with your browser.