Write batching

Michael McGrady mmcgrady at topiatechnology.com
Mon Aug 17 12:36:13 EDT 2009


TWIMC

My two cents.  I am sure it is possible but, for my part, it would not  
be wise.  This, I think, is not cohesive with the framework's scope.   
However, I think reasonable people might disagree on this.

MG


On Aug 16, 2009, at 7:07 PM, 이희승 (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.
>
> HTH,
> Trustin
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users

Mike McGrady
Principal Investigator AF081-028 AFRL SBIR
Senior Engineer
Topia Technology, Inc
1.253.720.3365
mmcgrady at topiatechnology.com










More information about the netty-users mailing list