The Wayback Machine - https://web.archive.org/web/20201018125337/https://github.com/soudegesu/springboot-webflux-test
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

springboot-webflux-test

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

Precondition

This repository dependes on

  • java
    • 1.8
  • docker
    • 17.12 or more
  • docker-compose
    • 1.18.0 or more

Execute

bootstrap docker containers

docker-compose up &

execute this command, you can boot 5 containers.

  • application
    • use spring-mvc
    • use spring-webflux
  • mock
    • use openresty
  • tools

execute specific gatling simulation

ex)

./gradlew gatlingRun-computerdatabase.HelloSimulation`

Access

Endpoint

  • spring-mvc

http://localhost:8081/

  • spring-webflux

http://localhost:8082/

Tools

  • Prometheus

open http://localhost:9090/ with your browser.

  • Grafana

open http://localhost:3000/ with your browser.

You can’t perform that action at this time.