Home
Sign Up
Sign In
V2EX
›
问与答
大家用 netty 的时候,逻辑也写在 handler 里的吗
git00ll
·
May 28, 2022
· 1461 views
This topic created in 1552 days ago, the information mentioned may be changed or developed.
感觉不写在 handler 里面没法处理。
因为 netty handler 中的多个方法都是被动回调的,而且也不能堵塞
而且很多场景下,tpc 两端之间的交互也不是像 http 那样一问一答的,而是不确定发多少数据包的
No Comments Yet
handler
Netty
tpc
堵塞
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3823 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms ·
UTC 10:21
·
PVG 18:21
·
LAX 03:21
·
JFK 06:21
♥ Do have faith in what you're doing.
❯