Re: [Marnew] The "explicit Internet" discussion

Natasha Rooney <nrooney@gsma.com> Thu, 27 August 2015 08:29 UTC

Return-Path: <nrooney@gsma.com>
X-Original-To: marnew@ietfa.amsl.com
Delivered-To: marnew@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 393801B3768 for <marnew@ietfa.amsl.com>; Thu, 27 Aug 2015 01:29:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.003
X-Spam-Level:
X-Spam-Status: No, score=-0.003 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 Mrel51V-eQHH for <marnew@ietfa.amsl.com>; Thu, 27 Aug 2015 01:29:54 -0700 (PDT)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0646.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::646]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 975EE1B3750 for <marnew@iab.org>; Thu, 27 Aug 2015 01:29:53 -0700 (PDT)
Received: from HE1PR04MB1033.eurprd04.prod.outlook.com (10.162.26.142) by HE1PR04MB1036.eurprd04.prod.outlook.com (10.162.26.145) with Microsoft SMTP Server (TLS) id 15.1.243.23; Thu, 27 Aug 2015 08:29:31 +0000
Received: from HE1PR04MB1033.eurprd04.prod.outlook.com ([10.162.26.142]) by HE1PR04MB1033.eurprd04.prod.outlook.com ([10.162.26.142]) with mapi id 15.01.0243.020; Thu, 27 Aug 2015 08:29:31 +0000
From: Natasha Rooney <nrooney@gsma.com>
To: Ted Hardie <ted.ietf@gmail.com>
Thread-Topic: [Marnew] The "explicit Internet" discussion
Thread-Index: AQHQ4KJ+nSwle5w7pkGuuIVj6AeOCw==
Date: Thu, 27 Aug 2015 08:29:30 +0000
Message-ID: <2AD0887F-DAE3-4292-BDF6-054ABE2AC40F@gsma.com>
References: <CA+9kkMBcqueWQAWtb5ydk4ByFF5AwwRKd06XLMW-dEc8om1cjQ@mail.gmail.com> <CA+9kkMA4dtSJQc9TU1GC0Zf1X_jFkZtiHnX3zrKpw2vu=Mjz6g@mail.gmail.com>
In-Reply-To: <CA+9kkMA4dtSJQc9TU1GC0Zf1X_jFkZtiHnX3zrKpw2vu=Mjz6g@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.2098)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=nrooney@gsma.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [131.113.199.38]
x-microsoft-exchange-diagnostics: 1; HE1PR04MB1036; 5:kN62iZ7luRlk1dIZHxU9WX+Maef6IGh+WUsdU8iAVXr47DwjER1647CFHulhpqCUMxuaxnZNmQEvED5yEXlw8e45Zst5QR7Mr8x8aCb80/pytY2J7DPkWopW80K3fMdu71NovZEB8KSm+dCtfE6Jmg==; 24:dTaRZ9tBzKi14vhtQ2H6RxF+7kj+RWvGNYN8auUY+MeQJLyAFsADptlHm4nLYkGjhx/bI065E2l+bVDFNQSrcv6vPeHcplpI0eStZ64v2rk=; 20:rkbMqsVUrw6lTipYtp0nYD7qHvKcFWhsmoFcmo6AuTHNCtYxZXu/mllndPWkXQXRvEqqqzRWDdrHkpES9osYyg==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR04MB1036;
x-microsoft-antispam-prvs: <HE1PR04MB1036AF431E4AE5D6DD645B23C36F0@HE1PR04MB1036.eurprd04.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(8121501046)(3002001); SRVR:HE1PR04MB1036; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1036;
x-forefront-prvs: 06818431B9
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(199003)(54094003)(189002)(53774003)(24454002)(377454003)(57306001)(5001830100001)(105586002)(189998001)(110136002)(15975445007)(97736004)(5001960100002)(5007970100001)(77156002)(122556002)(86362001)(68736005)(77096005)(40100003)(101416001)(5002640100001)(62966003)(33656002)(66066001)(82746002)(64706001)(2900100001)(106116001)(10400500002)(36756003)(102836002)(2950100001)(50986999)(4001540100001)(87936001)(92566002)(106356001)(2656002)(5004730100002)(5890100001)(50226001)(83716003)(5001860100001)(46102003)(19580405001)(19580395003)(76176999)(81156007)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1036; H:HE1PR04MB1033.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: gsma.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <A59FB368CC1053419785966E4B0B5C85@eurprd04.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: gsma.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2015 08:29:30.9424 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72a4ff82-fec3-469d-aafb-ac8276216699
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1036
X-MS-Exchange-CrossPremises-AuthAs: Internal
X-MS-Exchange-CrossPremises-AuthMechanism: 04
X-MS-Exchange-CrossPremises-AuthSource: HE1PR04MB1033.eurprd04.prod.outlook.com
X-MS-Exchange-CrossPremises-SCL: 1
X-MS-Exchange-CrossPremises-messagesource: StoreDriver
X-MS-Exchange-CrossPremises-BCC:
X-MS-Exchange-CrossPremises-originalclientipaddress: 131.113.199.38
X-MS-Exchange-CrossPremises-avstamp-service: 1.0
X-MS-Exchange-CrossPremises-disclaimer-hash: 78ca8040c6722e32c2f5b0a45bf37e74b9409d645a53be96aa19958e0cee0f00
X-MS-Exchange-CrossPremises-antispam-scancontext: DIR:Originating; SFV:NSPM; SKIP:0;
X-MS-Exchange-CrossPremises-processed-by-journaling: Journal Agent
X-OrganizationHeadersPreserved: HE1PR04MB1036.eurprd04.prod.outlook.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/marnew/hYs1ICDcRgziPEEv3E1JEoHSiYM>
Cc: Wendy Seltzer <wseltzer@w3.org>, "marnew@iab.org" <marnew@iab.org>
Subject: Re: [Marnew] The "explicit Internet" discussion
X-BeenThere: marnew@iab.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Managing Radio Networks in an Encrypted World <marnew.iab.org>
List-Unsubscribe: <https://www.iab.org/mailman/options/marnew>, <mailto:marnew-request@iab.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/marnew/>
List-Post: <mailto:marnew@iab.org>
List-Help: <mailto:marnew-request@iab.org?subject=help>
List-Subscribe: <https://www.iab.org/mailman/listinfo/marnew>, <mailto:marnew-request@iab.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Aug 2015 08:29:57 -0000

Thanks for this Ted! Sorry for the late response. Copying Wendy because I mention A LOT of web stuff here and she can sense check my thoughts.

> On Aug 20, 2015, at 5:54 AM, Ted Hardie <ted.ietf@gmail.com> wrote:
>
> So, I started thinking about this some time ago, got distracted, but re-awoke to the need to send it out today after a separate message from Brian.  My apologies for the dealy.
>
> During the ISOC briefing panel on Tuesday of IETF 93, one of the discussion points was the tension among the radio network, the device, and the application.  That tension results in part from each trying to optimize its own piece of the puzzle using only inferences about what the others' state is or requirements might be.  In order to deliver a snappy user experience, for example, an app may pre-cache DNS information about likely next destinations in the click trail; that costs energy from the device's store of energy and radio air time from the radio network (as well as actual money).

Yeah this realisation was my favourite part of the panel. It was funny given that as soon as people say "solve the performance issue as in the best way you can" I think "yeah I’ll just build an app with serviceworker", which is a web tech. My first inclination is not "fix it with protocols", and the fact that much of the panel spoke of protocols made me go "huh.". I’ve felt a bit different about these issues since then.

>
> One possible improvement to the current state is to enable different actors to have a better understanding of the current state of the others' resources.  An application that knows the battery is under 30% full may decide not to do opportunistic cache fill; it may also decide to bundle likely queries into groups if it knows when the radio network can support the traffic.

Apps should be able to do this now - even web apps (with serviceworker again!). Although this is a special cache, not HTTP cache.

>
> That particular approach requires a good bit of application logic be built into lots of applications.  A different design might allow the application to use a marker (like "speculative request") on the DNS query.  The application  can then test the cache for the presence of the result when it's needed, rather than blocking on a return.  The OS might block the use of the radio for speculative requests if it is energy starved, causing the application to incur latency (but only for the requests actually used).  Similarly, the UE could use markers from the radio network in making its decision (such as the current bandwidth of the data channel assigned), instead of passing that information up to the application.

Cool. I am a little confused how this saves battery on a lookup (so I assume you mean just for filling in which case it makes sense!)

>
> It's clear that cross-layer optimization might yield some benefits, but there are also some obvious concerns.  Being able to test what the current battery drain is, for example, can expose when the screen and camera are active, which may not be appropriate information to yield to all applications.  Radio networks may be reluctant to allow UEs and applications to know the current state, especially if there is resource contention.

Sorry the web dev in me is screaming again: permissions should handle this (I think). Web permissions API is happening here - I think (Google’s) Adrienne Porter Felt is the pro in this area (personal hero of mine). Saying this though, I wonder if I am either making this more complicated or simple than it should / needs to be.

>
> So, what can we do?  I suspect that the best answer at the moment is to allow explicit declarations to go from the edge of the network inward, but to limit those declarations to the type of treatment that is permitted/required rather than what it is being required for.  So, an application can mark a set of packets as drop eligible, and the UE can take that into account, and then pass that along to the network.  The reason might be the packets are covered by FEC, are speculative requests, or something else.  That remains opaque; only the network treatment desired is made explicit.

I wonder whether sorting items into their correct layers is something which should be done here. There’s a lot of work going on in the web community and in the IETF (as you say above) and sometimes the right thing falls in the wrong place. For instance (ok, I know you know this but for the sake of others reading!); RTCWeb started looking into permissions for WebRTC - this was the right thing to do. However, the W3C have been knee-deep in the permissions issue for ages, and, it more naturally fits in their remit being application layer - so they sent the permissions issue back to W3C.

I am also wary though that just "sorting stuff" doesn’t solve the issues above, as some things (caching in particular!) falls into many camps. So maybe some more work needs to be looked at to tie the groups together or get them to understand each others work and goals.

Interestingly I was actually talking to Hiro Nakajima from ISOC Japan about this today! We were saying that the number of people who come to W3C AND IETF is actually shockingly small! Like in the 10s. I can name five of them (mnot, me, Wendy, Rigo, Dan Druta), I should play cross W3C/IETF bingo.

>
> Similarly, the network and UE can signal back to applications when capacity is available for less common network treatments.  For example, they could signal capacity is available for lower-than-best-effort traffic; in that case, the network would originate the signal but the UE would propagate it to an app only when it had sufficient battery and no other applications contending for the network.   The app may or may not use that capacity, and it has no need to tell the UE or the network what the scavenger class traffic might be.

We looked at this in the Web and Mobile Interest Group at W3C. Saying what I said above I think this IETF a good place to chat about this, but we just had one huge issue when we tried to work on this which I’ll bring up here. Network information for fixed networks is fine; but for mobile it sucks hard. This is mostly because a user can take two steps forward and their whole network experience can change. So, if you advertise a good network, user moves forward a few steps (or 20m on a train) and everything goes to crud and that nice big movie they started downloading is stuck. But - I can see from what you have written is that this could send for "lower-than-best-effort traffic", which wouldn’t produce the same problem above, but perhaps the opposite. Sorry if I misunderstood your point.

>
> Given encrypted networks, in other words, I think we need more explicit network signalling but only about what the network either can do or is to do.  As a cross-layer optimization, that seems like the minimum we need to make things work well and where we should stop.
>
> Any initial thoughts?
>

Think I covered my thoughts; the TLDR is; new caching stuff is good and should be looked at, the web is getting more extensible to cover this but I am not sure if this is totally the right move for everything above, and yes, groups should talk more!

Natasha

>
> Ted
> _______________________________________________
> Marnew mailing list
> Marnew@iab.org
> https://www.iab.org/mailman/listinfo/marnew

This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email or call +44 207 356 0600 and highlight the error.