🔥 Burn Fat Fast. Discover How! 💪

Performance testing various Embedded Web Servers #web #profili | Java Tech News

Performance testing various Embedded Web Servers
#web #profiling #spring
Since SpringBoot comes with support for Tomcat, Undertow, Reactor-Netty, Jetty, Jersey web servers, you can compare performance between them.
• Test Scenario: 400k requests with 50 connections and 20 concurrent streams
• All instances were run with -Xms512m -Xmx512m using Java 11.
• Machine Spec: 2.3 GHz Dual-Core Intel Core i5, 16 GB 2133 MHz LPDDR3

For a read-only test case, the following are the standings by various metrics:
• By Throughput: Reactor-Netty, Tomcat, Undertow, Jetty
• By Max Memory: Reactor-Netty, Jetty, Undertow, Tomcat
• By CPU: Reactor-Netty, Undertow, Tomcat, Jetty
• By Threads: Reactor-Netty, Undertow, Tomcat, Jetty

From this experiment, the absolute leader is the Reactor-Netty. Suited for Microservices Architecture, this web server offers backpressure-ready network engines.
https://medium.com/@skhatri.dev/springboot-performance-testing-various-embedded-web-servers-7d460bbfdb1b