-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EventLoopGroup为什么像ServerBootstrap不分BossGroup和WorkGroup? #30
Comments
UDP没有TCP监听的概念,可以包装一下kcpchannel,将一个WorkGroup中的某个eventloop设置进去,在handler的channelRead0() 获取到message后,使用包装的kcpchannel的eventloop的execute方法进行解析即可 |
实际上这里并没有建立连接的过程,就只有读写,所以用WorkGroup就够了,没有BossGroup。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
EventLoopGroup为什么不分BossGroup和WorkGroup,多连接并发性能应该扛不住吧?这个为啥不分开啊?
The text was updated successfully, but these errors were encountered: