Skip to content

Aleksandr-Filichkin/spring-mvc-vs-webflux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-mvc-vs-webflux

https://medium.com/@filia.aleks/microservice-performance-battle-spring-mvc-vs-webflux-80d39fd81bf0

Compare Performance for Rest Service that proxies request to underline Rest service and return it back.

  • Servlet blocking call with Java 11 client (endpoint /sync)
  • Servlet with CompletableFuture call with Java 11 client (endpoint /completable-future)
  • WebFlux call with Java 11 client (endpoint /webflux-java-http-client)
  • WebFlux call with WebClient (endpoint /webflux-webclient)
  • WebFlux call with Apache Http Client (endpoint /webflux-apache-client)

  • Build

    For WebFlux(Netty) use "web-flux" maven profile mvn clean install -P web-flux

    For Servlet(Tomcat) use "servlet" maven profile mvn clean install -P servlet

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published