article/spring-boot/spring-boot-virtual-threads-vs-webflux #5
Replies: 3 comments 2 replies
-
应该再比较一下 springboot vs springboot(vt) |
Beta Was this translation helpful? Give feedback.
1 reply
-
这其实就变成了 同步请求mysql和异步请求mysql再这里的并发情况了吧 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Mysql的驱动不一样,VT下的mysql的驱动仍然是同步的 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
article/spring-boot/spring-boot-virtual-threads-vs-webflux
Spring Boot虚拟线程与Webflux在JWT验证和MySQL查询上的性能比较 早上看到一篇关于Spring Boot虚拟线程和Webflux性能对比的文章,觉得还不错。内容较长,我就不翻译了,抓重点给大家介绍一下这篇文章的核心内容,方便大家快速阅读。 测试场景 作者采用了一个尽可能贴近现实操作的场景: 从授权头信息中提取JWT 验证JWT并从中提取用户的Email 使用用户的Email去MySQL里执行查询 返回用户记录
https://www.didispace.com/article/spring-boot/spring-boot-virtual-threads-vs-webflux.html
Beta Was this translation helpful? Give feedback.
All reactions