Thoughts on IANA registries

Julian Reschke <julian.reschke@gmx.de> Sat, 13 November 2010 11:50 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 414CC3A6B16 for <ietf@core3.amsl.com>; Sat, 13 Nov 2010 03:50:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.315
X-Spam-Level:
X-Spam-Status: No, score=-105.315 tagged_above=-999 required=5 tests=[AWL=-3.316, BAYES_00=-2.599, J_CHICKENPOX_34=0.6, USER_IN_WHITELIST=-100]
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 7Cni9yZYD8nb for <ietf@core3.amsl.com>; Sat, 13 Nov 2010 03:50:05 -0800 (PST)
Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by core3.amsl.com (Postfix) with SMTP id 09A133A69C5 for <ietf@ietf.org>; Sat, 13 Nov 2010 03:50:04 -0800 (PST)
Received: (qmail invoked by alias); 13 Nov 2010 11:50:36 -0000
Received: from p508FA1FD.dip.t-dialin.net (EHLO [192.168.178.33]) [80.143.161.253] by mail.gmx.net (mp014) with SMTP; 13 Nov 2010 12:50:36 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19oGnBq21Fotn+9D/nZYWq9gjQ5lZXwiczcY5RkKq 33odM1PkIvhvAT
Message-ID: <4CDE7B7E.5000509@gmx.de>
Date: Sat, 13 Nov 2010 12:50:22 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: IETF Discussion <ietf@ietf.org>
Subject: Thoughts on IANA registries
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Nov 2010 11:50:06 -0000

I've had quite a few registry-related discussions in the past few 
months, here's a collection of thoughts related to this topic.

1) Have a registry or not?

Many people take it as a given that once you have an extension point, 
you need a new registry. Not so.

In this space we have tons of registries that already provide stability. 
For instance, WebDAV (RFC 4918) uses extension points all over the 
place, such as for property names, report names, pre/post condition 
names, but gets away without having to define a single registry.

This is achieved by using an URI-based system; all the types mentioned 
above are pairs of (namespace-uri, local-name), just as in XML + 
namespaces. The namespace URI can be just anything you control, be it an 
http URI, a UUID URN, or a URN in the urn:ietf namespace.

And yes, this works very well. What it does NOT do is standardizing the 
access to the definition *for* the extension, nor discovery. This may be 
a problem in some cases, but not always.


2) When setting up a registry, consider experimentation and local uses

So you have decided you *really* need a registry; in this case consider 
experimentation and local uses.

Some registries have provisional branches and/or vendor trees. An even 
simpler approach is to combine the registry with the extension point 
mentioned above; use the registry for "short names", but allow the use 
of URIs as identifiers as well. This allows people to use extension 
element in private/local use without any fear of name collisions. See 
"Web Linking" (RFC 5988), for example.


3) Somebody forgot to define a registry, what now?

This happens. Sometimes, it's not clear when writing a spec whether a 
registry will ever needed. This happened with a few extension points in 
HTTP/1.1 (RFC 2616), such as status codes. I believe that the plan was 
for specs just to use the "updates" relation in the RFC database to keep 
track of these things, but that doesn't scale well, and it confuses 
extensibility with spec evolution.

RFC 2817 (TLS over HTTP) established an IANA registry for status codes 
later on. That was ok, but what turned out to be a really bad idea was 
to make that registry part of RFC 2817. It makes it hard to find, and 
makes updating RFC 2817 difficult; it just combines too many different 
things inside one document.

So if you ever need an IANA registry for an extension point in an 
already published RFC, by all means make it a stand-alone document.


4) Designated Experts

Some registries do not need review, some do. Review can be very 
time-consuming. If you define a registry that needs Expert Review, make 
sure you actually have multiple volunteers who are willing to do this 
for an extended amount of time; otherwise the registry will not work 
well, or not at all.

Note: every time consumers of a registry have a bad registration 
experience, the whole of IANA and IETF gets blamed for it.


5) Visibility and Accountability

For everything that requires review, establish a public, archived 
mailing list. Optimally also run an issue tracker somewhere where people 
can track the status of their registration requests.


Feedback appreciated,

Julian