1、初始化启动服务器时,对比图
tomcat:
upload-images.jianshu.io/upload_images/5072576-43d8139427a00144.png
undertow:
upload-images.jianshu.io/upload_images/5072576-b4920db23c7e50c7.png
2、100线程并发对比图
tomcat:
upload-images.jianshu.io/upload_images/5072576-876cd21f2e768039.png
undertow:
upload-images.jianshu.io/upload_images/5072576-03f072a40065c7c0.png
3、两者吞吐率
发现tomcat占用内存明显高于undertow,而两者吞吐率却差不多
网友评论