antirez wrote:

 > DoS attack can be performed even using TCP, lost messages can be handled with
 > an ACK, yes TCP do this without additional coding but I think at scalability.

You can deal with the scalability/performance issue of the TCP handshake by
keeping the same TCP session open as long as you have more stuff in the queue for
the same loghost (with maybe a timeout, or something, but that's an
implementation detail).  This way you don't have to reinvent the wheel, and you
only suffer high overhead (as a percentage of how much data you're sending) when
the total traffic is low and you don't care.

Remember that NFS started as UDP and so much gunk was added to deal with large
block sizes, guaranteed delivery, data rate throttling, etc., etc. that the TCP
re-implementation ended up as more efficient.


--
Chris Calabrese
Internet Infrastructure and Security
Merck-Medco Managed Care, L.L.C.
[EMAIL PROTECTED]
.


Reply via email to