Re: [6lowapp] HTTP and SIP

Adam Dunkels <adam@sics.se> Mon, 12 October 2009 11:22 UTC

Return-Path: <adam@sics.se>
X-Original-To: 6lowapp@core3.amsl.com
Delivered-To: 6lowapp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 12B2F28C1AF for <6lowapp@core3.amsl.com>; Mon, 12 Oct 2009 04:22:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.112
X-Spam-Level:
X-Spam-Status: No, score=-0.112 tagged_above=-999 required=5 tests=[AWL=-0.277, BAYES_40=-0.185, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JbqqDlTTBdcw for <6lowapp@core3.amsl.com>; Mon, 12 Oct 2009 04:22:37 -0700 (PDT)
Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by core3.amsl.com (Postfix) with ESMTP id 18D5428C19C for <6lowapp@ietf.org>; Mon, 12 Oct 2009 04:22:37 -0700 (PDT)
Received: from [10.1.1.254] (unknown [10.1.1.254]) by letter.sics.se (Postfix) with ESMTP id ECA6C40124; Mon, 12 Oct 2009 13:22:36 +0200 (CEST)
Message-ID: <4AD31176.1000104@sics.se>
Date: Mon, 12 Oct 2009 13:22:30 +0200
From: Adam Dunkels <adam@sics.se>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Jonathan Hui <jhui@archrock.com>
References: <429b380e0910101030q25f1ad7fge7157c2e04b5d530@mail.gmail.com> <4AD105DC.3070407@sics.se> <1DDEE359-AA0F-4D94-81BA-7ED03E3CC86A@archrock.com>
In-Reply-To: <1DDEE359-AA0F-4D94-81BA-7ED03E3CC86A@archrock.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 6lowapp@ietf.org
Subject: Re: [6lowapp] HTTP and SIP
X-BeenThere: 6lowapp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Application protocols for constrained nodes and networks <6lowapp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6lowapp>
List-Post: <mailto:6lowapp@ietf.org>
List-Help: <mailto:6lowapp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Oct 2009 11:22:38 -0000

Jonathan Hui wrote:
>> Both these arguments were frequently used in the past against IP for 
>> resource-constrained systems, yet today we take IP for granted for 
>> these systems despite the overheads of IP. We need to a pay price for 
>> interoperability and flexibility, but we think it is worth it.
> 
> I'd be careful carrying the interoperability argument towards the upper 
> layers.  IP was designed to be the narrow waist.  Today, that has 
> evolved to UDP and TCP being the narrow waist [1].  We have far more 
> flexibility and opportunity at the application layer than we do with 
> TCP/UDP/IP and we should not be afraid to exploit that.  I do support 
> the argument for evaluating existing protocols/architectures, but more 
> because they are established, vetted, and widely understood, less so 
> because we actually want to utilize the existing technical 
> infrastructure that surrounds it.
> 
> [1] http://tools.ietf.org/html/draft-rosenberg-internet-waist-hourglass

I fully agree with you in that these arguments are stronger than the 
interoperability argument, and the application layer is the place were 
we are free to do what we please, without being constrained from the 
network infrastructure, and that we should use that fact to our 
advantage. (Even though the waist nowadays sometimes is IP/TCP port 80 
or even IP/TCP/HTTP port 80.)

But we shouldn't overlook the interoperability aspects with existing 
application-layer infrastructure such as SNMP, for which there are 
numerous tools and systems available, and HTTP, that has both 
infrastructure (e.g. caching proxies) and deployed systems.

I am not implying that we must necessarily use existing protocols for 
everything in 6lowapp. It is dangerous (and easy) to become too fixated 
with existing mechanisms, particularly in cases where they clearly are 
not applicable. But rejecting them prematurely based on perceived 
qualities and not empirical data is not good.

/adam
-- 
Adam Dunkels <adam@sics.se>se>, +46707731614
http://twitter.com/adunk | http://www.sics.se/~adam/