Receive buffers and ReceiveBufferSizePredictorFactory

Albert Strasheim fullung at gmail.com
Tue Jan 26 10:15:05 EST 2010


Hello all (mostly Trustin),

I've started looking at the ReceiveBufferSizePredictorFactory stuff that was
recently added to Netty.

Firstly, I suspect that DefaultNioSocketChannelConfig#setOption is missing
code to set the ReceiveBufferSizePredictorFactory.

It's also not clear to me how the NioSocketChannelConfig's
ReceiveBufferSizePredictorFactory interacts with the receiveBufferSize in
ServerSocketChannelConfig.

I have a server with a ServerBootstrap that uses a
NioServerSocketChannelFactory for which I want to set large receive buffers
for newly accepted channels. Which of these options should I be using?

I'm using Netty 3.2.0 ALPHA3.

Regards,

Albert
-- 
View this message in context: http://n2.nabble.com/Receive-buffers-and-ReceiveBufferSizePredictorFactory-tp4461124p4461124.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list