Roedy Green said:
I was not trying to make any such statement.
I'm still not convinced. You say you're not making any such statement,
yet you go on to make such a statement.
I was trying to point
out that UDP and TCP/IP stream performance depend on different
characteristics of the connection.
But they don't. Both UDP and TCP have latency and bandwidth. Latency
depends on the sum of the processing at each node and communication
times between hops, and bandwidth depends on the width of the narrowest
communication channel or the speed of the slowest processing node. Some
applications depend mainly on latency, and some on bandwidth; so the two
will perform differently, regardless of the choice of TCP or UDP.
The TCP/UDP choice is almost completely orthogonal to the question of
bandwidth or latency. The ONLY difference is that under TCP,
transmission errors can cause future data to be buffered at the target
node, and buffers have limited size... so in a path with very high
latency and occasional errors, TCP can fail to meet the bandwidth
potential of UDP over a similar path. Of course, the up-side is
reliable messaging, which is not available with UDP.
So...
Either you have a continuous
stream of data or you have intermittent packets.
Yes.
Even if you were to
use TCP/IP for exchanging intermittent packets, it will behave from a
performance point of view like UDP.
There is no such thing as performing "like UDP". It can perform like a
continuous stream, or like intermittent packets with frequent round-
trips... but neither is more or less UDP.
As I said before, since many applications of UDP are for streaming large
amounts of data with no round trips (e.g., video streaming, multicast
broadcasting, ) and many applications of TCP are for intermitten
communication with frequent round-trips (e.g., telnet, ssh, ftp control,
most smtp and pop3 and imap, etc.), most people with experience in
network protocols will think that you've got it quite backwards. You
haven't really got it backward; there's really no significant
relationship at all.
I thought I was stating something almost too obvious to mention, but
apparently it is not.
I think your talk about TCP and UDP is confusing people. That's all.
Latency and bandwidth is not at issue.
--
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation