Write batching

"Trustin Lee (이희승)" trustin at gmail.com
Wed Dec 16 03:44:57 EST 2009


On 2009/08/17 11:19 am, 이희승 (Trustin Lee) wrote:
> On 08/17/2009 11:15 AM, 이희승 (Trustin Lee) wrote:
>> 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:
>>
>>   * https://jira.jboss.org/jira/browse/NETTY-209
> 

This feature has been implemented finally.  Please check out the Javadoc
and let me know if there is a use case I am missing:

Thanks,
Trustin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20091216/6d97d529/attachment.bin 


More information about the netty-users mailing list