RE: draft-montenegro-httpbis-h2ot-00 question

Gabriel Montenegro <Gabriel.Montenegro@microsoft.com> Thu, 14 July 2016 07:52 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0287A12B02E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jul 2016 00:52:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.308
X-Spam-Level:
X-Spam-Status: No, score=-8.308 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 d0lha1jLhLfs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jul 2016 00:52:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 52492128E19 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jul 2016 00:52:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bNbNc-0006Fy-Jb for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jul 2016 07:48:20 +0000
Resent-Date: Thu, 14 Jul 2016 07:48:20 +0000
Resent-Message-Id: <E1bNbNc-0006Fy-Jb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1bNbNW-0006Df-Qo for ietf-http-wg@listhub.w3.org; Thu, 14 Jul 2016 07:48:14 +0000
Received: from mail-cys01nam02on0091.outbound.protection.outlook.com ([104.47.37.91] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by lisa.w3.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1bNbNM-0002Sh-GT for ietf-http-wg@w3.org; Thu, 14 Jul 2016 07:48:10 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=TDM5MJzwjYuG5dZhliiRSu/9YW3PTmq1TgdlABeqoE0=; b=cCum1uIpypQLkBEwn7UjZ4nLT443Qfmh0XtFU7WxmYdMwLmI/N5bjlf7MCo4XEALRGRK80moIJbj+uhrjx8J69a02vmFHq5WSYdhWbQgnYUo7Ze3t3MZSdEFk1WJLf1GTuF8ZsFr8mlLcy8T2bEQ+ulLr2NdPdzmSA+MdpHHp+Y=
Received: from BN1PR03MB072.namprd03.prod.outlook.com (10.255.225.156) by BN1PR03MB069.namprd03.prod.outlook.com (10.255.225.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12; Thu, 14 Jul 2016 07:47:36 +0000
Received: from BN1PR03MB072.namprd03.prod.outlook.com ([169.254.7.200]) by BN1PR03MB072.namprd03.prod.outlook.com ([169.254.7.200]) with mapi id 15.01.0534.023; Thu, 14 Jul 2016 07:47:36 +0000
From: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
To: Carsten Bormann <cabo@tzi.org>
CC: Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, "Simpson, Robby (GE Energy Management)" <robby.simpson@ge.com>, "draft-montenegro-httpbis-h2ot@tools.ietf.org" <draft-montenegro-httpbis-h2ot@tools.ietf.org>, "t2trg@irtf.org" <t2trg@irtf.org>
Thread-Topic: draft-montenegro-httpbis-h2ot-00 question
Thread-Index: AQHR3JxuW+HqIlS68EWwvrEQLbtSDKAWu2PAgAAz7ACAAJctAA==
Date: Thu, 14 Jul 2016 07:47:36 +0000
Message-ID: <BN1PR03MB072177D6DEBE51AF0EFB21A95320@BN1PR03MB072.namprd03.prod.outlook.com>
References: <CABkgnnXHO8COVgLA2EW8W_NdtyHbPN2ihAkUqG+6vKzn1ufqcA@mail.gmail.com> <BN1PR03MB072CFB3536431E78CBF22A995310@BN1PR03MB072.namprd03.prod.outlook.com> <5786BDD8.1060202@tzi.org>
In-Reply-To: <5786BDD8.1060202@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gabriel.Montenegro@microsoft.com;
x-originating-ip: [73.221.57.40]
x-ms-office365-filtering-correlation-id: aaded853-59ae-43aa-3584-08d3abbb1f93
x-microsoft-exchange-diagnostics: 1; BN1PR03MB069; 6:x6qNNegUgsLBtXpJlK4M9P8MkTONeH/4DqjR6WgFa2sFeQjW0YeU2LuE7MjM/kue+RT+nZLO6aCF3Ci6tNorswawZ/cy8KjuspLzJsPt82Jw+51z5wdHvpQxyzJUcIAzVWnUYJxfju4cPu/LQkBgiIbJJYu0F6EJYf0MGNpbE9K4m00lLJtuyXKChzRlvMzcbkHJL8kJCntI4SUHuwo62lqTFGF1jEIevGGHSKQpWw1dxiD9qu/rCwHB/LdIox8EzT9Ow1fclNjS5QMy1VhpVKZ6odEskHKB9OZCxNa2x7MlTxQygA1RCj5NvPjZL981PhU+68FPxKUgbWQAVqLcJQ==; 5:lUGnmf2cezY3piXI8ubah0mhEP6IJUgYCIh1t6tJ9HaZOkknWTi09D5aJe6LxyXAsxyvMMLin/1qPLyVy42dYN9822iMO4U+EbVFWxo2IeP7xwIKRNMXG5NaP9Ryr250MNfFejFX6UUQVLwEly8OuA==; 24:81Fz9gzzmODWjat6xwB+BO7ZwoGyNmTtuEs4nU0TFd+spnmvtixccc93J5D3lAsu4EHycqCf7YlH43XrSnC42YpRLKKClK4taETNzqEunpM=; 7:YVPzZX4xDWVHmVdRrM4//aBd3mGZTNHQuaFaejPLTrTF+vG1Zem2poUIUy5jqPNmf3FK8CzkGZw9Ot10gXlNSI3kZ6W0fyplFg7AHjDrBdMQIi7AijzQg1RiMPRbQHlDNYYqj3ABpuNUYyI+UM8pis20iVAxQfSWXb0ghYvwEkwu5AH06BttD6wZ3RgvuNf5Kd7vdkIEopKXF0FfVNzsVB2f3oD3l5JshP29IqqD7WznIeU1u3lsRqm2hVe/KR5K
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB069;
x-microsoft-antispam-prvs: <BN1PR03MB0693A2D4EF4FBB7410B2E9D95320@BN1PR03MB069.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(190756311086443)(278428928389397);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(61426038)(61427038); SRVR:BN1PR03MB069; BCL:0; PCL:0; RULEID:; SRVR:BN1PR03MB069;
x-forefront-prvs: 00032065B2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(199003)(189002)(5002640100001)(11100500001)(68736007)(86362001)(76576001)(189998001)(230783001)(10090500001)(4326007)(122556002)(110136002)(5005710100001)(10400500002)(99286002)(10290500002)(8990500004)(86612001)(2950100001)(7736002)(5003600100003)(97736004)(9686002)(7696003)(54356999)(2900100001)(6116002)(2906002)(7846002)(105586002)(8676002)(586003)(3280700002)(66066001)(101416001)(3660700001)(74316002)(106356001)(50986999)(33656002)(92566002)(8936002)(87936001)(81156014)(81166006)(106116001)(305945005)(76176999)(102836003)(3846002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR03MB069; H:BN1PR03MB072.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jul 2016 07:47:36.4916 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR03MB069
Received-SPF: pass client-ip=104.47.37.91; envelope-from=Gabriel.Montenegro@microsoft.com; helo=NAM02-CY1-obe.outbound.protection.outlook.com
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1bNbNM-0002Sh-GT 9e68d999495ead210f30602d2d3d4398
X-Original-To: ietf-http-wg@w3.org
Subject: RE: draft-montenegro-httpbis-h2ot-00 question
Archived-At: <http://www.w3.org/mid/BN1PR03MB072177D6DEBE51AF0EFB21A95320@BN1PR03MB072.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31965
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

> (CCing T2TRG, whom I'd ask to have a look at the above document.)

Thanks, Carsten! Yes, t2trg, please look this document over.
 
> HTTP/2 has good mechanism for many applications in the IoT (see below
> for some more thoughts).  However, this mechanism is also loaded with
> policy, which only really considers the Big Web/Browser Web today.
> Getting those policies adapted to the little web may be the biggest
> change that is needed, much less so more (or different) mechanism.

That's the premise, yes. A beginning of those policies' changes are discussed in the draft, as HTTP/2 is flexible enough that altering its behavior and resources is not difficult. But I agree that the main job is to adapt HTTP/2 to IoT just like TCP/IP was adapted to the cellular data networks over a decade ago (in the process obsoleting the entire WAP stack). The question is not just about application transport and HTTP/2, it's about an entire stack that, well adapted, could be common and shared between IoT and non-IoT, mainstream scenarios (again, analogous to the fact that phones no longer use WAP but the same tcp/ip protocols and software stacks as one uses on laptops, tablets, servers...). 

Who knows, maybe IoT is definitely different and we need to invent all sorts of new protocols to address it. But judging from history, it may be that a large number of IoT scenarios can use the well-known (but adapted/profiled) stack. At the very least it is worth investigating what this option would look like.

> Not all of the IoT is in the little web, so it's easy to find examples
> where generalities do not apply.  It may also be more instructive to
> think both about the 1 W+, $50 (A-class platforms with Linux) IoT vs.
> the $5 (or $0.50), microcontroller and microwatts IoT.

Yes, our assumption and initial learnings is that http/2 can apply quite well for small IoT devices, but lot more work needs to happen here, I agree. 

> Looking at the three REST transfer protocols, CoAP's niche is among
> other details based on:
> 
> -- several orders of magnitude less complexity for basic cases;

Would be great to see the data for this and how complexity is measured. I think this applies as compared to http/1.x, but much less (if at all) to http/2.

> -- support for UDP, which is both simpler and often more robust;

The part about robust is debatable. Perhaps for some scenarios, but for other equally important ones you end up adding so much stuff that eventually you might as well use TCP. Some folks think that UDP is a must, but then we look at MQTT which is much more widely deployed than CoAP, and it is TCP-only (deployment of UDP version is in the noise from what MQTT people tell me). How to adapt TCP is another question. We've seen that it is a dog that can learn new tricks (e.g., L4S BoF). Perhaps there is a need to build all sorts of functionality on top of UDP. QUIC is doing just that and its first goal is to carry HTTP/2 precisely. It will be interesting to see how that evolves from the point of view of IoT applicability.
 
> -- notifications about resource changes (RFC 7641 "Observe").

HTTP has had long polling for ages to effect this, but it is not efficient. HTTP/2 adds PUSH, which makes this pattern much more efficient.

Thanks,

Gabriel