[erlang-questions] gen_tcp:send(Sock, SmallPacket) issue

Dave Smith <>
Wed Jun 20 15:37:46 CEST 2007


On 6/19/07, Bengt Kleberg <> wrote:
> On 2007-06-20 00:33, Dave Smith wrote:
> ...deleted
>
> > control, etc. In this day of abundant, speedy, scalable TCP stacks it
> > seems silly to use UDP unless you really, really want to re-implement
>
> what about latency? is not that something that udp still handles better
> than tcp?

Certainly. Looking back at my post it probably wasn't the most
balanced set of statements. :) UDP definitely has a useful place in
any network developers toolbox. It is my _opinion_ that many people
new to network/protocol development jump on the UDP bandwagon too
early, without considering the long term ramifications of having to
implement/maintain a protocol that is based on an unreliable,
unordered delivery transport.  That said, there are situations where
UDP is far more appropriate than TCP, particularly when one is more
concerned with latency than reliability.

My apologies for the hasty nature of my original post. Sometimes the
"Send" button is a little too easy to click. :)

D.



More information about the erlang-questions mailing list