Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: ANN: PyDTLS

Reply
Thread Tools

Re: ANN: PyDTLS

 
 
Chris Angelico
Guest
Posts: n/a
 
      01-09-2013
On Thu, Jan 10, 2013 at 7:04 AM, rbit <> wrote:
> The following are some of the main use cases that force applications into
> datagram protocols:
>
> * Minimizing protocol overhead. TCP has relatively high overhead,
> for example, its 3-way handshake for connection establishment.
> One can see why DNS uses UDP.


Yep. Related to that: One of our systems at work uses UDP rather than
TCP in order to simplify the detection of node loss. Rather than
working with TCP retry etc and handling the variety of different ways
in which "the other node is down" could be reported, the nodes simply
send UDP packets to each other, and keep track of the timestamp when
one was last received. There's only one failure state: silence. Not
sure if high-level protocol simplicity counts as the same thing or
not; it's a different form of overhead.

ChrisA
 
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
Re: ANN: PyDTLS Neal Becker Python 0 01-09-2013 03:08 PM
Re: ANN: PyDTLS rbit Python 0 01-09-2013 07:38 AM
Re: ANN: PyDTLS Guido van Rossum Python 0 01-09-2013 05:09 AM
Re: ANN: PyDTLS rbit Python 0 01-09-2013 04:39 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