Re: [apps-discuss] Aggregated service discovery

Cyrus Daboo <cyrus@daboo.name> Wed, 23 May 2012 18:25 UTC

Return-Path: <cyrus@daboo.name>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65CA721F8713 for <apps-discuss@ietfa.amsl.com>; Wed, 23 May 2012 11:25:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R6SL9uAE-6Tu for <apps-discuss@ietfa.amsl.com>; Wed, 23 May 2012 11:25:30 -0700 (PDT)
Received: from daboo.name (daboo.name [173.13.55.49]) by ietfa.amsl.com (Postfix) with ESMTP id 81E3A21F86FF for <apps-discuss@ietf.org>; Wed, 23 May 2012 11:25:28 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 500C327CC124; Wed, 23 May 2012 14:25:28 -0400 (EDT)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (daboo.name [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ynuBFrn+HAu8; Wed, 23 May 2012 14:25:26 -0400 (EDT)
Received: from [10.0.1.101] (dhcp50-95-124-140.hil-chachdt.atl.wayport.net [50.95.124.140]) by daboo.name (Postfix) with ESMTPSA id 6FDAA27CC118; Wed, 23 May 2012 14:25:25 -0400 (EDT)
Date: Wed, 23 May 2012 14:25:44 -0400
From: Cyrus Daboo <cyrus@daboo.name>
To: Michiel de Jong <michiel@unhosted.org>, Mark Nottingham <mnot@mnot.net>
Message-ID: <516247AC74FF27E89F0D40EC@cyrus.local>
In-Reply-To: <CA+aD3u1x3_qVSFnxfV_iesruVy9xUi_t6kzCoAncr_kAuNkfZg@mail.gmail.com>
References: <64C6DF43A866F40437AF4CC3@cyrus.local> <22873D37-8462-48AE-ABA0-49445776E4CC@mnot.net> <CA+aD3u1x3_qVSFnxfV_iesruVy9xUi_t6kzCoAncr_kAuNkfZg@mail.gmail.com>
X-Mailer: Mulberry/4.1.0a3 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1384"
Cc: apps-discuss@ietf.org
Subject: Re: [apps-discuss] Aggregated service discovery
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 May 2012 18:25:30 -0000

Hi Michiel,

--On May 23, 2012 10:33:34 AM +0000 Michiel de Jong <michiel@unhosted.org> 
wrote:

> But the first starting point should always be public, on
> /.well-known/host-meta and with CORS headers on there. Even if it's
> just to say "nothing to see here unless you can give me credentials of
> type X" (IMO, OAuth end-point discovery can itself serve here as a
> syntax for expressing that, although i think announcing
> credentials-requirements is still a relatively under-explored part of
> discovery best practices).

Efficiency is one of the key goals for this. If the ASD ("aggregated 
service discovery") app has to follow multiple links then the benefit 
rapidly decreases over simply using the current per-service mechanisms. I 
do recognize that there may be a need to do that (e.g., services whose 
administration is delegated within a domain) but it would really be better 
to get all the required information in a single request. The other aspect 
of that is also avoiding getting redundant information. The ASD app may 
well know precisely which services it can support so being able to have the 
query filtered for just those would be good to avoid extraneous information 
being sent in a large document.

Whilst host-meta might be a jumping off point for this, its worth 
remembering that we are dealing with more than just "web" services here.

-- 
Cyrus Daboo