Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > The beauty of TCP/IP

Reply
Thread Tools

The beauty of TCP/IP

 
 
Roedy Green
Guest
Posts: n/a
 
      12-23-2005
I was thinking about a pleasing feature of TCP/IP.

The throughput does not depend on how many hops it takes to get to
you. It depends on the speed of the slowest hop, which would normally
be the one next to you or next to the server. TCP/IP is like a very
long train of packets with many in flight at once. There is no fixed
path for packets.

A highspeed middle link could be the bottleneck if it were the most
congested.

On the other hand if you send a datagram and send a datagram in
return, the response time depends on the number of hops.

So even though the Internet is designed at the fundamental level
around delivery of individual packets, it is most efficient when
delivering streams.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
Reply With Quote
 
 
 
 
Luc The Perverse
Guest
Posts: n/a
 
      12-23-2005
"Roedy Green" < > wrote in
message news:...
>I was thinking about a pleasing feature of TCP/IP.
>
> The throughput does not depend on how many hops it takes to get to
> you. It depends on the speed of the slowest hop, which would normally
> be the one next to you or next to the server. TCP/IP is like a very
> long train of packets with many in flight at once. There is no fixed
> path for packets.
>
> A highspeed middle link could be the bottleneck if it were the most
> congested.
>
> On the other hand if you send a datagram and send a datagram in
> return, the response time depends on the number of hops.
>
> So even though the Internet is designed at the fundamental level
> around delivery of individual packets, it is most efficient when
> delivering streams.



Yes - now come up with a way for me to explain to my grandma the difference
between latency and throughput - because thus far people just don't get it.

--
LTP




 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      12-24-2005
On Fri, 23 Dec 2005 15:50:08 -0700, "Luc The Perverse"
<> wrote, quoted or indirectly
quoted someone who said :

>Yes - now come up with a way for me to explain to my grandma the difference
>between latency and throughput - because thus far people just don't get it.


The difference between one guy with a bucket and a bucket brigade. The
bucket does not get there much faster by brigade, but more buckets per
minute do.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
Reply With Quote
 
Luc The Perverse
Guest
Posts: n/a
 
      12-24-2005
"Roedy Green" < > wrote in
message news:...
> On Fri, 23 Dec 2005 15:50:08 -0700, "Luc The Perverse"
> <> wrote, quoted or indirectly
> quoted someone who said :
>
>>Yes - now come up with a way for me to explain to my grandma the
>>difference
>>between latency and throughput - because thus far people just don't get
>>it.

>
> The difference between one guy with a bucket and a bucket brigade. The
> bucket does not get there much faster by brigade, but more buckets per
> minute do.


Ah thanks - that works well.

--
LTP




 
Reply With Quote
 
E.J. Pitt
Guest
Posts: n/a
 
      12-27-2005
Roedy Green wrote:
> On the other hand if you send a datagram and send a datagram in
> return, the response time depends on the number of hops.


Not really. Datagrams are routed the same way as TCP segments, so
consecutive datagrams can take different paths through the network, just
as TCP segments can.
 
Reply With Quote
 
E.J. Pitt
Guest
Posts: n/a
 
      12-27-2005
Luc The Perverse wrote:

> Yes - now come up with a way for me to explain to my grandma the difference
> between latency and throughput - because thus far people just don't get it.


The difference between a truckload of tapes and a modem. The truck has
high bandwidth, long latency, the modem has low bandwidth, short latency.
 
Reply With Quote
 
Luc The Perverse
Guest
Posts: n/a
 
      12-27-2005
"E.J. Pitt" <> wrote in message
news:UJ7sf.114266$...
> Luc The Perverse wrote:
>
>> Yes - now come up with a way for me to explain to my grandma the
>> difference between latency and throughput - because thus far people just
>> don't get it.

>
> The difference between a truckload of tapes and a modem. The truck has
> high bandwidth, long latency, the modem has low bandwidth, short latency.


While I appreciate your effort - I have more faith in the bucket brigade
idea Maybe it's just cause I know my grandma.

--
LTP




 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      12-27-2005
On Tue, 27 Dec 2005 08:26:24 GMT, "E.J. Pitt"
<> wrote, quoted or indirectly quoted
someone who said :

>> On the other hand if you send a datagram and send a datagram in
>> return, the response time depends on the number of hops.

>
>Not really. Datagrams are routed the same way as TCP segments, so
>consecutive datagrams can take different paths through the network, just
>as TCP segments can.


Even if each packet goes a different route, by slightly different
numbers of hops, the round trip time for the entire packet bundle
depends on the number of hops and the time of each hop, or more
precisely the case for the worst subpacket.


--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      12-27-2005
On Tue, 27 Dec 2005 03:04:49 -0700, "Luc The Perverse"
<> wrote, quoted or indirectly
quoted someone who said :

>While I appreciate your effort - I have more faith in the bucket brigade
>idea Maybe it's just cause I know my grandma.


Why does Grandma want to know this?
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
Reply With Quote
 
Luc The Perverse
Guest
Posts: n/a
 
      12-27-2005
"Roedy Green" < > wrote in
message news:...
> On Tue, 27 Dec 2005 03:04:49 -0700, "Luc The Perverse"
> <> wrote, quoted or indirectly
> quoted someone who said :
>
>>While I appreciate your effort - I have more faith in the bucket brigade
>>idea Maybe it's just cause I know my grandma.

>
> Why does Grandma want to know this?



She doesn't - she was never interested, and that is likely why she just
couldn't grasp it.

It came up once a long time ago in a conversation with her.

The question has come up multiple times though; I remember once trying to
explain to a friend why a modem might be superior to a satelite connection
for playing games. I got through to him, but it was harder than I expected
it to be to explain. The concept seems intuitive to me, so it is my belief
that an example to which someone can relate should aid in making it
intuitive to other people.

--
LTP




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solve this beauty Sharp Tool Java 19 10-28-2005 07:26 PM
JAXP - perhaps beauty is only in the eye of the beholder Frank Java 1 11-22-2004 02:45 AM
Sleeping Beauty: $14.88 at Walmart. Scot Gardner DVD Video 11 09-26-2003 04:13 PM
SB french fashion & beauty photographer stephane bourson Digital Photography 4 07-29-2003 08:01 PM
OT: Ng about beauty techniques, hair styling, makeup?? fitwell Computer Support 2 07-07-2003 12:09 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57