Re: [Anima-signaling] GRASP and unicast UDP

Toerless Eckert <eckert@cisco.com> Wed, 17 August 2016 06:23 UTC

Return-Path: <eckert@cisco.com>
X-Original-To: anima-signaling@ietfa.amsl.com
Delivered-To: anima-signaling@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1814412D0C2 for <anima-signaling@ietfa.amsl.com>; Tue, 16 Aug 2016 23:23:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.768
X-Spam-Level:
X-Spam-Status: No, score=-15.768 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Szh7p1MNtJHo for <anima-signaling@ietfa.amsl.com>; Tue, 16 Aug 2016 23:23:16 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 08EC8127077 for <anima-signaling@ietf.org>; Tue, 16 Aug 2016 23:23:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1595; q=dns/txt; s=iport; t=1471414995; x=1472624595; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wmsLeflxWaRUdYJifQxh63DKaqZ+D+WhXBR1xisFIOI=; b=FDPA6GcYfc0NhVMYkOzSBJc8oZrj0LFLBI77m5t+dt+Wte901ttx3ZHk owqU4P+vZhDOh7z2EJwzWh1bpa3It0eaLYyGZ+EJnB627c1XoOCTuabuf 6sfnQo0Cj8CJ38pgn1D7BMPv9wR4sDEOCTjnMgC9OODOnJJOckdgADrBD 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BDAgDcAbRX/5FdJa1eg0VWfLlQgX0kh?= =?us-ascii?q?XkCgVo4FAIBAQEBAQEBXieEXwEFAQE4NAsQCxgJJQ8FEzYTG4gWDr8RAQEBAQE?= =?us-ascii?q?BAQEBAQEBAQEBAQEBAQEBFwWKd4Qqg0KCLwWPEooyjxEKj0iMOYN4HjaEGhwyh?= =?us-ascii?q?mEBAQE?=
X-IronPort-AV: E=Sophos;i="5.28,529,1464652800"; d="scan'208";a="311811192"
Received: from rcdn-core-9.cisco.com ([173.37.93.145]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Aug 2016 06:23:15 +0000
Received: from mcast-linux1.cisco.com (mcast-linux1.cisco.com [172.27.244.121]) by rcdn-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id u7H6NEKG009444 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Aug 2016 06:23:15 GMT
Received: from mcast-linux1.cisco.com (localhost.cisco.com [127.0.0.1]) by mcast-linux1.cisco.com (8.13.8/8.13.8) with ESMTP id u7H6NEPW013923; Tue, 16 Aug 2016 23:23:14 -0700
Received: (from eckert@localhost) by mcast-linux1.cisco.com (8.13.8/8.13.8/Submit) id u7H6NEOW013922; Tue, 16 Aug 2016 23:23:14 -0700
Date: Tue, 16 Aug 2016 23:23:14 -0700
From: Toerless Eckert <eckert@cisco.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <20160817062314.GA21039@cisco.com>
References: <c4d6fc66-a95f-83e3-1f65-1e7aec1c2696@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <c4d6fc66-a95f-83e3-1f65-1e7aec1c2696@gmail.com>
User-Agent: Mutt/1.4.2.2i
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-signaling/8TGotetb4Einp_zDhdp7c_OqPJk>
Cc: Anima signaling DT <anima-signaling@ietf.org>
Subject: Re: [Anima-signaling] GRASP and unicast UDP
X-BeenThere: anima-signaling@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Mailing list for the signaling design team of the ANIMA WG <anima-signaling.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima-signaling>, <mailto:anima-signaling-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima-signaling/>
List-Post: <mailto:anima-signaling@ietf.org>
List-Help: <mailto:anima-signaling-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima-signaling>, <mailto:anima-signaling-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Aug 2016 06:23:17 -0000

Thanks a lot for the insight. How about trying CoAP ?

On Wed, Aug 17, 2016 at 04:42:40PM +1200, Brian E Carpenter wrote:
> To entertain myself while waiting for comments on other matters, I spent
> quite some time (and swear words) on hacking the prototype GRASP to use
> UDP instead of TCP for unicast operations (i.e. discovery responses,
> synchronization responses, and negotiation).
> 
> My conclusion is that it's a fairly silly thing to do, except possibly
> for discovery, which only involved a normal amount of debugging. I'm sure
> this is something that DNS server developers are very familiar with:
> writing a robust server handling things over UDP is a great deal harder
> than doing it with TCP. In fact I gave up when I realised that for
> the negotiation case (where there are an unpredictable number of messages
> in both directions) I was basically going to have to rewrite half of TCP,
> and still not have a robust solution. Without a lot more work, the UDP
> solution is riddled with timing-dependent issues. (At one point, adding
> a print statement for debugging fixed the bug, so that I simply couldn't
> debug it...)
> 
> Of course, all this could be solved with more work, but I'm really not
> sure we should recommend UDP at all, except for discovery responses.
> I can't really imagine a real autonomic node that doesn't have TCP code.
> 
> Comments?
> 
>     Brian
> 
> _______________________________________________
> Anima-signaling mailing list
> Anima-signaling@ietf.org
> https://www.ietf.org/mailman/listinfo/anima-signaling