Tr: [usenet] How not to do UDPs

Russ Allbery rra at stanford.edu
Mon Oct 29 16:12:22 UTC 2007


Julien ÉLIE <julien at trigofacile.com> writes:

> Do you think it is a good idea to patch nnrpd to use TCP_NODELAY?

Yes, particularly if we ever manage to convert it to use the new partial
NNTP library in lib, which has an explicit flush and gives you a bit more
control over when you want to send data.  But it might be of benefit even
now.  The only thing that I worry about is that we may lose performance on
XOVER/OVER, where nnrpd does accumulate a large return with a lot of
little writes.  On the other hand, it's through stdio right now, I think,
so it does internal buffering anyway.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list