![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
netty
陈奉刚11
大数据开发与问题定位
展开
-
netty 学习系列 其他杂七杂八
1、选择器的极限挑战:netty的group 相当于一个线程池,选择线程有两种方式。public EventExecutorChooser newChooser(EventExecutor[] executors) { if (isPowerOfTwo(executors.length)) { return new PowerOfTwoEventExecutorC...原创 2019-07-31 15:43:37 · 187 阅读 · 0 评论 -
netty 学习系列 ChannelOption
Netty之ChannelOption一、详情 在用netty作为底层网络通信的时候关于ChannelOption的参数让我一直模糊不清楚,于是去看一下linux网络编程,发现ChannelOption的各种属性在套接字选项中都有对应 下面简单的总结一下ChannelOption的含义已及使用的场景 1、ChannelOption.SO_BACKLOG ChannelOpti...原创 2019-07-31 15:45:34 · 351 阅读 · 0 评论 -
netty 学习系列 jstack
blind NioEventLoop到MultithreadEventLoopGroup at io.netty.util.concurrent.DefaultEventExecutorChooserFactory$PowerOfTwoEventExecutorChooser.next(DefaultEventExecutorChooserFactory.java:57) at i...原创 2019-07-31 15:46:55 · 330 阅读 · 0 评论