Spring Boot 内嵌容器Undertow与tomcat吞吐量对比
Spring Boot 内嵌容器Undertow与tomcat吞吐量对比测试工具jmeter:Tomcat:Undertow:tomcat切换undertow方法测试工具jmeter:Tomcat:Undertow:tomcat切换undertow方法排除内置tomcat<exclusions><exclusion>...
·
Spring Boot 内嵌容器Undertow与tomcat吞吐量对比
测试工具jmeter:
Tomcat:
500
1000
1500
Undertow:
500
1000
1500
tomcat切换undertow方法
排除内置tomcat
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
Add Undertow:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId>
</dependency>
Undertow uses around 90MB and has ~13 threads:
结果:Springboot如果选用内置容器,建议使用Undertow。
更多推荐
已为社区贡献1条内容
所有评论(0)