Re: [6lowapp] Proposed charter for 6LoWAPP BOF

Arjun Roychowdhury <arjun.lists@hsc.com> Sun, 01 November 2009 21:07 UTC

Return-Path: <arjunrc@gmail.com>
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 6847F28C12A for <6lowapp@core3.amsl.com>; Sun, 1 Nov 2009 13:07:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.676
X-Spam-Level:
X-Spam-Status: No, score=-1.676 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_48=0.6]
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 KOhD3xmV7KQE for <6lowapp@core3.amsl.com>; Sun, 1 Nov 2009 13:07:12 -0800 (PST)
Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by core3.amsl.com (Postfix) with ESMTP id D89E828C128 for <6lowapp@ietf.org>; Sun, 1 Nov 2009 13:07:11 -0800 (PST)
Received: by qyk41 with SMTP id 41so2332300qyk.29 for <6lowapp@ietf.org>; Sun, 01 Nov 2009 13:07:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=zF6hVcMUCyJNmMLlaVAYK8JZIXsNSyjoPl6DPd4YUrc=; b=W0G8ZynoFxH+2JpgBV1jD6pDP2i9gnDpaFvwMgHGGW2FNI8Ji7Zw1cIKyFCz4MWIJT 3Rsr8Zdv3ZutkGauusE0JvNi04ucnjKKdIicvZ5DeQ1JT73UX66TlAuz0omnLaCmQmIJ EipqFIULjX9Q7qtBNAxjxOAK3VgyS8tnu9v1s=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=dV6cqenuL1np9hFb2ZrrpH0/x7TxFhGEshTTuWiYo8Py/jZ5rPa2H2Dkt0gjT4HAOz I75qV55vfNMb+2xkeUIU89OQi3u5tsNqC+x2lBVaveSuK7qvb5XFQ2G+H5pz7sYhxBA+ Y1kBf8ATcFzwJ2G+ywkwWPVWbgF27hVYTFcfo=
MIME-Version: 1.0
Sender: arjunrc@gmail.com
Received: by 10.224.95.196 with SMTP id e4mr2421844qan.180.1257109646289; Sun, 01 Nov 2009 13:07:26 -0800 (PST)
In-Reply-To: <71DDE42E-E6D4-49D7-8F2E-699FBBDBAC12@cisco.com>
References: <B27B00F8-1A4F-4258-86FC-C02E78778E45@cisco.com> <184E130A-881A-4E1F-8408-FB03A7849A82@sensinode.com> <CE5B892A-3699-4CBF-8B6A-588F5A7DE99A@cisco.com> <EB735931-0D15-4017-94F1-3B10A0EC814D@sensinode.com> <843F0B9E-8C62-47A6-AFEC-4BE31D62CDB5@cisco.com> <2AA1E2A3-9EA9-4B94-85BA-834C66826A85@tzi.org> <C93E77B9-349F-451C-BAED-273555EEE5DE@cisco.com> <a9994e940910291111r5523e6eer581313f8fee12cba@mail.gmail.com> <71DDE42E-E6D4-49D7-8F2E-699FBBDBAC12@cisco.com>
From: Arjun Roychowdhury <arjun.lists@hsc.com>
Date: Sun, 1 Nov 2009 16:07:03 -0500
X-Google-Sender-Auth: 5e188a19be033ec8
Message-ID: <a9994e940911011307s68679873m55136fa181fa35f0@mail.gmail.com>
To: Cullen Jennings <fluffy@cisco.com>
Content-Type: multipart/alternative; boundary=00c09f89942ee92e5c047755a5e8
Cc: Don Sturek <donsturek@grid2home.com>, 6lowapp@ietf.org
Subject: Re: [6lowapp] Proposed charter for 6LoWAPP BOF
X-BeenThere: 6lowapp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: arjun.lists@hsc.com
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: Sun, 01 Nov 2009 21:07:13 -0000

On Sat, Oct 31, 2009 at 12:29 PM, Cullen Jennings <fluffy@cisco.com> wrote:

>
> On Oct 29, 2009, at 12:11 , Arjun Roychowdhury wrote:
>
> In order of complexity...
>
>
> 1) simple set of fixed variables that could be controlled
>
> 2) a single flat list of dynamically changeable set of variables that can
> can take on simple types (I might place IPFIX as being somewhat close to
> this model)
>
> 3) a hierarchical list of variables that can be related (I'd place basic
> usage SNMP roughly in this category but more advanced usage of SNMP probably
> can do category 4)
>
> 4) a REST based approach (I'd place HTTP REST in this case)
>
> 5) a full RPC model (I'd place CORBA in this class)
>
> Every use case I have seen so far could be solved by 3, 4, or 5. I think
> most people have expressed an opinion that about 4 looks about the right
> level of flexibility for this. So the questions is, if there is pretty good
> agreement on that, then I think we should just roll with it as tentative
> decision and see what it starts looking like as a design evolves. As the
> design evolves, one may find this was a bogus choice and need to revisit it.
> If you think there is a strong argument for 3 or 5 or even 1 or 2, lets get
> that info out on the list.


ARC> Right. If every use case can be solved by 4, and if an HTTP UA stack is
not an overkill for these devices, then I'd venture out to say that if the
need exists, then we should have a protocol that serves that need. My
argument is for something inbetween 4) and 5) - that is some session
oriented protocol, if one believes there will be sessions and an offer
answer needed. I mention SIP only because that is the one I know well. I am
not religious about SIP, but I am particular about a need.

And now, here is why some of us are putting across the fact that at the
least SIP needs to be evaluated:
(And I know you are well aware of SIP yourself, but I am putting some of
these across for others who may not be)

a) Size/Performance: Simply put, if an HTTP UA is ok, then a minimalistic
SIP UA not being ok is highly suspect. I doubt folks making this statement
have actually evaluated how much a session oriented protocol can be reduced
when it comes to implementation. I've personally worked on SIP UAs that
compress to 30K or less. How much of features you want to put in depends on
the network. Given a network, you can feature compromise. This entire
argument of verbosity vs. optimization is doubtful until you lay down
specific #s that need to be met (and why those #s exist)

b) Can SIP do everything HTTP can?: First, SIP can offer everything HTTP
can. Payloads? check. URI addressing schemes and REST based services. Check.
(http://myhome.com?remote=channel12 can be
sip:remote@myhome.com<sip%3Aremote@myhome.com>;channel=12)
etc.

c) What can SIP do better than HTTP?
c.1) Offer-Answer, capability, discovering the minimal feature set that
works between two or more devices

c.2) SIP works on more transport protocols than HTTP (yes, I am aware of
HTTP over UDP, but if we look at live deployments, almost all HTTP systems
use TCP. So if there is a communication needed from a non TCP network to
your HAN, welcome gateways. Almost all SIP deployments I know of today do
both TCP and UDP.)

c.3) Routing & Reachability: SIP's architecture of loose routing, forking,
etc.

c.4) Concept of a 'session' & 'session control' - SIP establishes a session
between one or more devices. These sessions can be transferred to any other
entity if required, monitored, or modified.

Basically, SIP is  HTTP+Sessions and an architecture to manage sessions.

1) what other protocols mapping should we do?
>
> 2) Given some people want HTTP, can you live with the answer to HTTP being
> yes and understanding that just because we said yes to HTTP does not mean we
> are saying no to everything else?
>
>
ARC> 1) SIP.
2) Yes.

-- 
Arjun Roychowdhury