所有主题

主题

undertow

该主题下共 2 篇笔记

undertow

  1. Spring Boot With Http2

    在 Spring Boot 中以 Undertow 为 Web 容器启用 HTTP/2 的实战:使用 keytool 生成自签名 PKCS12 证书、引入 Jetty alpn_boot 让 JVM 支持 ALPN 协议协商、通过 UndertowBuilderCustomizer 开启 HTTP/2 并配置 HTTPS。

    2 分钟阅读
  2. Spring boot start with Undertow

    在 Spring Boot 中用 Undertow 替换默认的 Tomcat 作为 Web 容器:通过 starter 引入 undertow、在配置类中启用 HTTP/2、调整 io-threads/worker-threads/buffer 等参数,并用 wrk 与 jconsole 对比 Undertow 与 Tomcat 的压测和资源占用表现。

    1 分钟阅读