netty channel nio socket,呵呵,接下来说的就是它们几个。DefaultNioSocketChannelConfig.java主要属性:writebuffer的两个游标阈值:high watermark, low watermark,一般前者为后者的一半writeSpinCount,predictor, 预测channel的receive buffer大小。有adaptive和fixed两种实现。1)AdaptiveReceiveBufferSizePredictor, 根据上次读操作的具体情况来"自适应的"调节下次recive buffer大小,预估 Read More
posted @ 2012-11-20 23:10 技术草根女 Views(964) Comments(0) Diggs(0) Edit