Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
问与答
为什么 Vertx.executeBlocking 默认选择串行执行
micean
·
Jan 30, 2021
· 1522 views
This topic created in 1913 days ago, the information mentioned may be changed or developed.
工作线程的使用场景从来是并行多于串行吧,曾经有个项目就是因为忘记修改成并行导致并发数被卡的死死的。
然后所有后续的阻塞场景的代码都是调用默认的 executeBlocking,比如适配 kotlin 协程的 awaitBlocking 。
到底有啥好处?
No Comments Yet
串行
并行
协程
默认
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3667 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms ·
UTC 04:55
·
PVG 12:55
·
LAX 21:55
·
JFK 00:55
♥ Do have faith in what you're doing.
❯