0
点赞
收藏
分享

微信扫一扫

醒醒 ,SpringBoot 中 是时候尝试Undertow 了

springboot 中还在使用Tomat ? 是时候了解下 Undertow 了。

官网:http://undertow.io/index.html

1、什么是Undertow
2、如何在spring Boot中使用
3、为什么要使用该容器呢?
  1. 轻量级:一共引入三个Jar 不足5M
  2. WebSocket 支持 :对 Web Socket 完全支持,用以满足 Web 应用巨大数量的客户端
  3. 嵌套性:它不需要容器,只需通过 API 即可快速搭建 Web 服务器

友情提示:

当然如果在生产中使用,一定要经过实际的压测对比,用数据说话。
举报

相关推荐

0 条评论