Re: [atoca] Discovery mechanism

Martin Thomson <martin.thomson@gmail.com> Thu, 05 April 2012 23:34 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: atoca@ietfa.amsl.com
Delivered-To: atoca@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 747BB21F8645 for <atoca@ietfa.amsl.com>; Thu, 5 Apr 2012 16:34:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.182
X-Spam-Level:
X-Spam-Status: No, score=-4.182 tagged_above=-999 required=5 tests=[AWL=-0.583, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 e8f6of2uXIUJ for <atoca@ietfa.amsl.com>; Thu, 5 Apr 2012 16:34:02 -0700 (PDT)
Received: from mail-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44]) by ietfa.amsl.com (Postfix) with ESMTP id 2B9B621F8636 for <atoca@ietf.org>; Thu, 5 Apr 2012 16:34:01 -0700 (PDT)
Received: by bkuw5 with SMTP id w5so1846780bku.31 for <atoca@ietf.org>; Thu, 05 Apr 2012 16:34:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=oMuhXCv6O3y9z90y8pfSyBdTVA3vVFvI7Xt2g6IPiEQ=; b=FBwL/ZhTugg+V0BouzpmAM+6y+MqgGMhzbbL7QNjegaYQVsvTS02O95IZeWvsRgY0g ImI2UGwijfACU3jARuElfeRLOQxQ/QevikBHqycTTlkmvODil+qMddEsPjJl177GwkCo 6eMq4EAaPbd6g3xsDzsql4xKaXOQ41XMpMiMYv6lzlRkv5yBl21asa3mgemWMiThfEIt +4+0E3VPxUwq3nAeagsxs3z98tgiFjtzyBPvjFVFErzp431iTkS+CXtGtrkhGIalzUi1 hJKCu8zR+vxBBvg20MgWiJKhxNR2J4NCEE15bruQ6FrV6ihA1wY2lZ+CvMaSFa+JNdDJ 0tlw==
MIME-Version: 1.0
Received: by 10.204.133.205 with SMTP id g13mr2278340bkt.94.1333668841179; Thu, 05 Apr 2012 16:34:01 -0700 (PDT)
Received: by 10.205.38.73 with HTTP; Thu, 5 Apr 2012 16:34:01 -0700 (PDT)
In-Reply-To: <351A6DE9-1BC4-48D4-A8FE-1738F8657EE1@incident.com>
References: <4F7599D8.1010107@bbn.com> <351A6DE9-1BC4-48D4-A8FE-1738F8657EE1@incident.com>
Date: Thu, 05 Apr 2012 16:34:01 -0700
Message-ID: <CABkgnnXn2Kfmnz=J=EWLZCnHq6gouTYYrPgb7q0MQEovtfqRCQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Art Botterell <acb@incident.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: atoca@ietf.org
Subject: Re: [atoca] Discovery mechanism
X-BeenThere: atoca@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion list for the IETF Authority-to-Citizen Alert \(atoca\) working group." <atoca.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/atoca>, <mailto:atoca-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/atoca>
List-Post: <mailto:atoca@ietf.org>
List-Help: <mailto:atoca-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/atoca>, <mailto:atoca-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Apr 2012 23:34:03 -0000

<bare-headed>

It's become clear to me that what has been lacking in the discovery
space is a clear enumeration of the information that I might use as
input.

The non-exhaustive list, that I think we need to include in requirements is:

 - network attachment properties (type of network, where on the network, etc...)
 - location
 - language preference
 - protocol support (XMPP, SIP, ATOM, Cell broadcast, LEAP, etc...)
 - the alert type of interest

An alert source is as specific as it needs to be.  There may be cases
where language preferences have no impact on discovery because alerts
are multilingual.  Similarly, it might be true that your network
attachment or location is irrelevant to the specific scenario.

Aside from doing a complete end-run around discovery (go straight to
the source, use a search engine), there seem to be different
"discovery" scenarios, each of which have multiple steps.

atoca-meta really only has one discovery step : (U-)NAPTR records.
The protocol it describes conflates two things: discovery and
registration.

By taking on registration, meta goes too far.  Registration is a
function of the delivery mechanism.  Cell broadcast doesn't need
registration.  Source-Specific Multicast subscription is a
registration step that would be necessary if delivery used SSM; why
have another step?

Sure, meta could treat a registration as a no-op, but by requiring a
protocol of this form it inherently sidesteps much of the HTTP
infrastructure that is critical for scaling such a service.  In
particular, distributed caching.

--Martin

On 30 March 2012 10:40, Art Botterell <acb@incident.com> wrote:
> This strikes me as a very worthwhile project.  A couple of quick notes:
>
> 1) Might the definitions section include a definition for an "alert source"?  If only to disambiguate between the function of the AMP server and an actual alert "feed" or whatever?
>
> 2) If I'm reading this correctly it seems like all we're attempting so far is to get from a general domain to a specific alert source URL.  Useful, I suppose... although it seems much the same thing could be achieved by conventionalizing a prefix like "alerts." (on the pattern of "www." for http servers... but why stop there?  Wouldn't it be useful to enable folks to discover alert sources serving a geospatial location or polygon?  And/or sources that provide certain types of information, as per the CAP "category" element?

Conventions like this are considered bad in the IETF.  That's not to
say that this wouldn't happen anyway.  I wouldn't want to hang a
critical protocol function off a convention though.

> 3) Does the proposed discovery mechanism provide information as to the specific protocol, access controls, etc. implemented by a particular alert source?  E.g., many of the interfaces are ATOM or RSS feeds, but some are in the form of various styles of web service queries.

Access control is almost strange, but it's probably something worth
including in the description.  Perhaps it would be sufficient to say
that it exists, without going into details.

> 4) I'm confused a bit... and maybe this is related to #3... by the inclusion of the Alert type message.  Is it intended that the discovery system also serve as a pub/sub broker for actual alerts?  Seems like that's a bit of a drift from the core... and IMHO, crucial... function of alert source discovery.  And possibly a bit of an overlap with what Google's doing at http://alert-hub.appspot.com/ ?

I agree, see above.

> Apologies if I'm asking anything too ignorant here.  Again, I think the basic question of discovery mechanisms is really important.
>
> - Art
>
> On Mar 30, 2012, at 4:32 AM, Richard L. Barnes wrote:
>
>> Hey all,
>>
>> As I said in the meeting today, I've put together a proposed mechanism for discovering alert servers.  Much like Brian said today, it's based on HTTP, but can bootstrap out of DHCP and/or LoST.
>>
>> Alert Metadata Protocol (AMP)
>> <http://tools.ietf.org/html/draft-barnes-atoca-meta-01>
>>
>> Reviews welcome!
>>
>> Thanks,
>> --Richard
>> _______________________________________________
>> atoca mailing list
>> atoca@ietf.org
>> https://www.ietf.org/mailman/listinfo/atoca
>
> _______________________________________________
> atoca mailing list
> atoca@ietf.org
> https://www.ietf.org/mailman/listinfo/atoca