![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Netty
文章平均质量分 79
狗灬
自学党,java开发
展开
-
Netty最佳实践(参考Netty In Action)
使用池化buffer/**use unpooled buffers with caution 谨慎使用非池化的buffer*allocation/deallocation is slow buffer的分配和回收是很缓慢的* Use Pooling of buffers to reduce allocation / deallocation time! 创建池化buffer会减少分配和...原创 2019-12-13 10:57:27 · 535 阅读 · 1 评论 -
使用transferTo方法限制文件传输大小的原因分析
缘由transforto的doc中:This method is potentially much more efficient than a simple loopthat reads from this channel and writes to the target channel. Many operating systems can transfer bytes directly...原创 2019-12-06 13:49:07 · 4321 阅读 · 0 评论