Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36521

Re: ANN: PyDTLS

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.019
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:ANN': 0.07; 'high- level': 0.09; 'other,': 0.09; 'retry': 0.09; 'timestamp': 0.09; 'cases': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'handshake': 0.16; 'nodes': 0.16; 'not;': 0.16; 'tcp': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'jan': 0.18; 'header :In-Reply-To:1': 0.25; 'am,': 0.27; 'handling': 0.27; 'message- id:@mail.gmail.com': 0.27; 'node': 0.29; '"the': 0.29; 'related': 0.30; 'connection': 0.30; 'could': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'protocol': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'uses': 0.37; 'why': 0.37; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'high': 0.61; 'relatively': 0.62; 'different': 0.63; 'our': 0.65; 'counts': 0.81; '2013': 0.84; 'overhead,': 0.84; 'silence.': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ZLtXhiIME8FDyzHeZgzDAmom5sRLBqPjDl6NOgylw+E=; b=PqNrDsH+FUVtA8ba9YgENqAcU+xmzqB9F+wvhlP3jvFSAkRY6A9LpJDfgCxBhzuwfF PFBUw7YGKToh/KVOuBpDumswxURW6kZBGDlUXay5ys9HmV/XlsY6z/Mol3IL+E37Z9zu dFjGZt7pzDpHLFyficxlYp15Njj+EwizA+2o9Cx5548qf3k+IPmrLnXo/MDNyCA/6XDD pXykbdO9yVZKTWBXn51njPQXEdyrBzonl9m63+qqWK1zH+adBzKwirhbziZPpwfxJ7Zs kNAK1ljLnz6FIzEpWb5T+aXAJ9pNakvclYLPFxUSya3Cr9YQXxXYzFkQdO6YjN/I7LYW BaaA==
MIME-Version 1.0
In-Reply-To <CAAvW-fbHcxHzwv_F6ynhWCiPjmd8=_9bfKyJ4gXS3HaGHh0AuA@mail.gmail.com>
References <CAAvW-fYH_n732uH4xEdQo_9RjHJM3Z4EiY-Bnu=_Drq37RgB8A@mail.gmail.com> <CAP7+vJ+Wop13D3qZ2Un6p1F-Oecjahc7dE2SgndtmcoOc1m5mg@mail.gmail.com> <kck14q$mjl$1@ger.gmane.org> <CAAvW-fbHcxHzwv_F6ynhWCiPjmd8=_9bfKyJ4gXS3HaGHh0AuA@mail.gmail.com>
Date Thu, 10 Jan 2013 08:45:01 +1100
Subject Re: ANN: PyDTLS
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.341.1357767910.2939.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357767910 news.xs4all.nl 6861 [2001:888:2000:d::a6]:49417
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36521

Show key headers only | View raw


On Thu, Jan 10, 2013 at 7:04 AM, rbit <py@liquibits.com> 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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: ANN: PyDTLS Chris Angelico <rosuav@gmail.com> - 2013-01-10 08:45 +1100

csiph-web