Re: [nbs] Preparing for a BoF about name-based sockets.

Javier Ubillos <jav@sics.se> Wed, 15 September 2010 12:19 UTC

Return-Path: <jav@sics.se>
X-Original-To: nbs@core3.amsl.com
Delivered-To: nbs@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1509C3A6BE0 for <nbs@core3.amsl.com>; Wed, 15 Sep 2010 05:19:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level:
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, 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 eJwxpbf1T7Lg for <nbs@core3.amsl.com>; Wed, 15 Sep 2010 05:19:40 -0700 (PDT)
Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by core3.amsl.com (Postfix) with ESMTP id E93053A6953 for <nbs@ietf.org>; Wed, 15 Sep 2010 05:19:39 -0700 (PDT)
Received: from [193.10.66.36] (bit.sics.se [193.10.66.36]) (Authenticated sender: jav@sics.se) by letter.sics.se (Postfix) with ESMTPSA id EBEE840124; Wed, 15 Sep 2010 14:20:02 +0200 (CEST)
From: Javier Ubillos <jav@sics.se>
To: Ran Atkinson <ran.atkinson@gmail.com>
In-Reply-To: <6D4ED1BE-85B6-48D8-B58E-33C3440F5C8F@gmail.com>
References: <1284491822.2019.18.camel@bit> <4C902878.5080507@gmail.com> <9B57C850BB53634CACEC56EF4853FF65342C3ECA@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <6D4ED1BE-85B6-48D8-B58E-33C3440F5C8F@gmail.com>
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-J0WalcRhF+fX0toUshYF"
Date: Wed, 15 Sep 2010 14:20:02 +0200
Message-ID: <1284553202.8489.131.camel@bit>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3
Cc: Stuart Cheshire <cheshire@apple.com>, Olaf Kolkmann <olaf@nlnetlabs.nl>, Mingwei Xu <xmw@csnet1.cs.tsinghua.edu.cn>, Björn Grönvall <bg@sics.se>, Leslie Daigle <leslie@thinkingcat.com>, Jun Bi <junbi@cernet.edu.cn>, Patrik Fältström <patrik@frobbit.se>, Lixia Zhang <lixia@cs.ucla.edu>, Yong Cui <cuiyong@tsinghua.edu.cn>, Dave Thaler <dthaler@microsoft.com>, Ralph Droms <rdroms@cisco.com>, Tony Li <tony.li@tony.li>, Jari Arkko <jari.arkko@piuha.net>, Bengt Ahlgren <bengta@sics.se>, Pete Resnick <presnick@qualcomm.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>, Name-based Sockets List <nbs@ietf.org>
Subject: Re: [nbs] Preparing for a BoF about name-based sockets.
X-BeenThere: nbs@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Name based sockets discussion list <nbs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nbs>, <mailto:nbs-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nbs>
List-Post: <mailto:nbs@ietf.org>
List-Help: <mailto:nbs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nbs>, <mailto:nbs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Sep 2010 12:19:41 -0000

On Wed, 2010-09-15 at 07:46 -0400, Ran Atkinson wrote:
> On 14  Sep 2010, at 22:07 , Dave Thaler wrote:
> > I think splitting the draft is a good thing,
> > and I have feedback on at least the API portion.  
> > Specifically, the API needs to use service names,
> > not integer port numbers.   getaddrinfo() already does so,
> > and section 7.2 of draft-ietf-tsvwg-iana-ports-06
> > will only make this more important.
> 
> Agreed.  
> 
> One hopes that any new API will be entirely name-based 
> (i.e. no "magic numbers").  One hopes the I-D will be 
> updated soon to reflect this.
> 
> Offering some entirely name-based APIs, as some programming
> languages (e.g. Java) already have done, enables well-behaved
> applications to work equally well not only over IPv4 and IPv6, 
> but also over SHIM6, LISP, MP/TCP, ILNP, or whatever else 
> might appear in future.
> 
> Yours,
> 
> Ran

That is exactly the plan! :)

To provide a thin naming convention, allowing arbitrary fun things
beneath it. Things that provide cool features I need not know about.
It also allows higher abstractions, as the Java one, to just pass the
name down to the socket layer, and reap the benefits of the available
features.

I'm also playing with a thought for the future:
Some form of "feature-negotiation" between two nodes. Where they e.g.
agree to use MP/TCP and/or ILNP.
This might be something for the BoF.

Out of scope for the BoF, but this might lead to some
"feature-arbitration framework". Perhaps as a part of larger "name-based
stack"-architecture. But, we will eventually need a way of having
different features play nicely with each other. For example the case
where we have Shim6, ILNP and MPTCP available, it wouldn't make sense to
stack INLP & Shim6 for each MPTCP (sub) flow.

// Javier