Re: [SWMP] TCP, UDP, and multicast: are they really equivalent?

Paul Aslin <fabricatorgeneral@yahoo.com> Fri, 07 September 2007 03:51 UTC

Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1ITUsC-0001VH-J4; Thu, 06 Sep 2007 23:51:12 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1ITUsB-0001VC-R8 for swmp@ietf.org; Thu, 06 Sep 2007 23:51:11 -0400
Received: from web90513.mail.mud.yahoo.com ([216.252.100.180]) by ietf-mx.ietf.org with smtp (Exim 4.43) id 1ITUsA-0005Q8-J4 for swmp@ietf.org; Thu, 06 Sep 2007 23:51:11 -0400
Received: (qmail 3867 invoked by uid 60001); 7 Sep 2007 03:51:10 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=S19yWdLEpIsgFSJZVapzEJ7CTWnT1aYqIVDJiOny66nO9FbVqPU9L/cgbrNkKTXmFWAcsSF56nxptYstLp+QV8lzXjmQsufKPRYz66+xDNaBUURq5b+OCobH0Bgtv3qNTaDmeHVMgtvo8TDmDZjiaJjW3LK7Gzx5dmPv1p6dXDc=;
X-YMail-OSG: 957GvDsVM1nOdcIbzdQRSh68gQEhDR1iK65VPqygYdyJa8ZEVKfV7d.6YHXkA6ykYB2qIuKu4YFDzg7mEAf10jOQXtghsYWdji_Yyedku9jtSibyKDc-
Received: from [144.134.129.240] by web90513.mail.mud.yahoo.com via HTTP; Thu, 06 Sep 2007 20:51:10 PDT
Date: Thu, 6 Sep 2007 20:51:10 -0700 (PDT)
From: Paul Aslin <fabricatorgeneral@yahoo.com>
Subject: Re: [SWMP] TCP, UDP, and multicast: are they really equivalent?
To: swmp@ietf.org
In-Reply-To: <OF00B259A5.9B278BBB-ON8525734E.0082106F-8525734F.000491EF@lotus.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <87908.3795.qm@web90513.mail.mud.yahoo.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f4c2cf0bccc868e4cc88dace71fb3f44
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>, <mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>, <mailto:swmp-request@ietf.org?subject=subscribe>
Errors-To: swmp-bounces@ietf.org

--- john_patterson@us.ibm.com wrote:

[snip]

> When I think about using swmp (or the enlarged version I
> proposed in 
>
http://www1.ietf.org/mail-archive/web/swmp/current/msg00032.html),
> I 
> wonder whether I would ever use UDP or multicast for
> anything other than a 
> way to receive notifications as a result of a
> subscription.  Indeed, I 
> doubt I would want to receive all notifications via UDP. 
> Structural 
> changes, such as adding/dropping a node or
> adding/dropping a field are 
> probably sufficiently important that I would want to
> ensure reliable 
> delivery.  Indeed, some update notifications might occur
> infrequently or 
> be critical triggers and I would probably prefer to use
> TCP for them.
> 
> The canonical example of where I really want UDP is
> updates about the 
> position of a moving object.  If I miss one update, I'll
> just wait for the 
> next one.  So long as the coding of the update is to
> declare the new 
> position rather than give me the delta, the improved
> speed is worth the 
> occasional loss.

Yeah position updates are a fine example of where data loss
isn't so much an issue. Probably should be some sort of
limiter applied to constantly updateing values, that more
an issue for programmers writing SWMP clients/servers/

I can see instances where programmers will be using SWMP
fields for information which lost data would be noticeable.
Say using a string to transfer chat text, or boolean states
of things like doors.

Perhaps we need to look at a flag, that can be set per
field/node as to the priority of updates to fields. In
other words, 'priority TRUE' would mean use TCP (or UDP
with some way of resending lost packets), FALSE would be
use UDP.




       
____________________________________________________________________________________
Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp