Write batching
"이희승 (Trustin Lee)"
trustin at gmail.com
Sun Aug 16 22:15:56 EDT 2009
On 08/17/2009 11:07 AM, 이희승 (Trustin Lee) wrote:
> On 08/14/2009 08:10 AM, Yang Zhang wrote:
>> Is there any way to batch up outgoing messages at a level near the
>> socket and control when they are sent (e.g. when a buffer fills up, when
>> some time expires, etc.)? Is there a channel handler that does this, or
>> would this not be fitting for the pipeline architecture? (We're trying
>> to reduce the number of syscalls, so Nagle's algorithm would not help
>> very much here.)
>
> I think you can implement it as a ChannelHandler. There's no such
> implementation yet but it should be possible. If not possible, I'd
> consider it as a design flaw and should be fixed.
Here's the JIRA issue. Please feel free to contribute if you are
interested:
* http://www.jboss.org/community/wiki/Netty
Cheers,
Trustin
More information about the netty-users
mailing list