Re: [Ecrit] planned-changes: two questions
Brian Rosen <br@brianrosen.net> Wed, 08 September 2021 20:17 UTC
Return-Path: <br@brianrosen.net>
X-Original-To: ecrit@ietfa.amsl.com
Delivered-To: ecrit@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 454D23A363E
for <ecrit@ietfa.amsl.com>; Wed, 8 Sep 2021 13:17:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01,
URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
header.d=brianrosen-net.20150623.gappssmtp.com
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 1wNSRF3oLVQi for <ecrit@ietfa.amsl.com>;
Wed, 8 Sep 2021 13:17:00 -0700 (PDT)
Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com
[IPv6:2607:f8b0:4864:20::12b])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 50F743A363B
for <ecrit@ietf.org>; Wed, 8 Sep 2021 13:17:00 -0700 (PDT)
Received: by mail-il1-x12b.google.com with SMTP id v16so3637026ilo.10
for <ecrit@ietf.org>; Wed, 08 Sep 2021 13:17:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=brianrosen-net.20150623.gappssmtp.com; s=20150623;
h=from:message-id:mime-version:subject:date:in-reply-to:cc:to
:references; bh=z0OZNF19PaSDuGqK9+ld2lEBGKSQ39DMsOK8knSVOmA=;
b=qvQ2HbS6HtVBZ9gOiD1whoVf86S7HaNPOx90vaS7VOueaBcq1FPpGbLStpE8PB6+lY
/2ebzXgmn/eGG1TnIRRYeqIcyQu6lvIlpxlxBWvvR1Rw3eMMyimDDDao+bmW/HBfhbCT
hlA71T+1zkhKbkdcX07rgOhMw+MeCSulQI46KBF3reRi7jZSvJ+xkRvfEiV/mNW1V72f
02Vy3Kw7Jdu1+cjArbWdYplRqpPpxD7RinYrJ9umgbOW27BdfOu1vsNir4UjSz3iniis
TgLD+wijSkcrM7URjsnyhBeVBnQ8W1q7rC34OTfdi2V5BMEPu96Lc7sXwpMsFspubAgq
Q1lA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:from:message-id:mime-version:subject:date
:in-reply-to:cc:to:references;
bh=z0OZNF19PaSDuGqK9+ld2lEBGKSQ39DMsOK8knSVOmA=;
b=V1a6YFo/QW/r/e2vyAvui4z/qJSJPZMiveukQgnfL4lrIBcxzwRU7sblPuRk1kDgZX
WhgLoyJX7dXIjyh9+EM6CX++rTKwm3iFCM89rmlc/+ZkApw3+iSQ0j/IIbg95JdfvlBz
ueEtg0RQRRhqxHU+uYhEnq48RxqdUYkQKt43EJzdqL88G2ASIzSlDKx9gFLbzvrJdDd0
yZEJVnehL4yZ5EtEDbQJ0iaizuBWrH+Fpo2bLSwIHwMBmFfTEYsUaITSDC2EQPPujuNj
eh/KWxpeVNmoNEmHLvFLZD3Qivyl51+lUS3myOMEPR6zXfw/TkyeHUMdvNqa25eyUz7x
hGjQ==
X-Gm-Message-State: AOAM530H3cy/OmSY9qdDiFQ9NQRHrbtTcVIR2XW92/KESrjhAQQBnsnz
ttteQLT5MG8CoB8phUCBXPSPc3jaJRbE3DUd
X-Google-Smtp-Source: ABdhPJyRZGCPu30lTF0GAgFDUvq/B12m0Ex5/OBCG24+306b/hgEFY7eV2K01VR3X87j8lvFc9mvAw==
X-Received: by 2002:a05:6e02:1e03:: with SMTP id
g3mr39659ila.320.1631132218361;
Wed, 08 Sep 2021 13:16:58 -0700 (PDT)
Received: from smtpclient.apple (dynamic-acs-24-154-121-237.zoominternet.net.
[24.154.121.237])
by smtp.gmail.com with ESMTPSA id j14sm51045ile.39.2021.09.08.13.16.56
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Wed, 08 Sep 2021 13:16:57 -0700 (PDT)
From: Brian Rosen <br@brianrosen.net>
Message-Id: <950B2BA0-A4ED-4782-8B3C-8080167076CE@brianrosen.net>
Content-Type: multipart/alternative;
boundary="Apple-Mail=_83C2250D-D41D-40AB-B69D-1E07FF8AB4E5"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Date: Wed, 8 Sep 2021 16:16:55 -0400
In-Reply-To: <fa6d03be366a428998db1f74e1f12ad9@bell.ca>
Cc: Randall Gellens <rg+ietf@randy.pensive.org>,
ECRIT <ecrit@ietf.org>
To: "Caron, Guy" <g.caron@bell.ca>
References: <A0FC259C-DF34-4496-9013-422006278DA6@randy.pensive.org>
<FB2A33E8-E146-404B-B150-1496C40510EF@brianrosen.net>
<5577e2e6daa4405bbe12ef61675e1f55@bell.ca>
<DE195D79-5A01-48EE-95CA-6C4B82E0886D@brianrosen.net>
<e6e17f501711441188119cdfbe384d3d@bell.ca>
<3AD58DEC-1DC9-4BC0-B55C-4E782E4AAA74@brianrosen.net>
<E20342E7-2EFB-4479-96C2-85B4B7E16989@randy.pensive.org>
<A7D59E8E-A014-4CC8-A0FF-5F58E81C6D4A@brianrosen.net>
<2b4abbef37be4131a87471af75b6e7da@bell.ca>
<CF2E8EDC-B38D-4742-B317-F3CE3E831578@brianrosen.net>
<f82108f590674341a22da9c2e4c649e0@bell.ca>
<7C4F6B87-C480-4963-B582-7639A9A1B029@brianrosen.net>
<89a34416a9224a3bbccb520408283373@bell.ca>
<D3AA7F51-01F4-4ED6-BFC3-2B3BF5AB1536@brianrosen.net>
<aaaa47a3d08645829b8987060b4b7bcf@bell.ca>
<F0640BD2-03FF-4530-8AF2-62FC6C715EC9@brianrosen.net>
<fa6d03be366a428998db1f74e1f12ad9@bell.ca>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ecrit/8IroVlcDBkqUGx44cJjZ41YfLy8>
Subject: Re: [Ecrit] planned-changes: two questions
X-BeenThere: ecrit@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Emergency Context Resolution with Internet Technologies
<ecrit.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ecrit>,
<mailto:ecrit-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ecrit/>
List-Post: <mailto:ecrit@ietf.org>
List-Help: <mailto:ecrit-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ecrit>,
<mailto:ecrit-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2021 20:17:07 -0000
Yes, the server can control the rate of revalidation by spacing out notifications, but so far the client can’t control the size of one notification. If I built the LVF on any modern self scaling infrastructure, it could easily handle a million revalidations, one at a time in a short time by a bunch of clients, but a single client may fall over with a single 256M byte transaction. I say this watching a web server do something weird on a 4Mbyte transaction. I’m okay with a client getting 1M or 10M IDs notified in a short period of time, but not in a single transaction. Brian > On Sep 8, 2021, at 4:03 PM, Caron, Guy <g.caron@bell.ca> wrote: > > Ah, your concern was for the Client. But I think the Server has more at stake here. If it puts too much IDs in the notification, it will be bombarded by revalidation requests that it may not be able to handle. It your large amalgamation example, if I was the Server, I would spread the notifications over a number of days (we probably should state that the Client SHOULD perform the revalidations within x hours of the notification). The Client would have to live with a large number of IDs anyway. > > Guy > > De : Brian Rosen <br@brianrosen.net> > Envoyé : 8 septembre 2021 15:54 > À : Caron, Guy <g.caron@bell.ca> > Cc : Randall Gellens <rg+ietf@randy.pensive.org>rg>; ECRIT <ecrit@ietf.org> > Objet : [EXT]Re: [Ecrit] planned-changes: two questions > > > > > On Sep 8, 2021, at 3:43 PM, Caron, Guy <g.caron@bell.ca <mailto:g.caron@bell.ca>> wrote: > > I think we are. > > Small nit in step 7: <revalidateAsoF> should be <revalidateAsOf> > Yes > > > Related questions: > 1. Should it be exactly on <revalidateAsOf>? > 2. What will be the precision of that datetimestamp, hour, minute, second, sub-second (type="xs:dateTime" supports that level of granularity)? > I get the issue. I think we should be reasonable. Let’s say it’s a minute of granularity, and that a request to validate asOf the dateTime of revalidayeAsOf should be using the new LI. So revalidateAsOf is the time new data is present, not the last time old data was present. > > > To your question about multiple IDs in the notification (I assume this is what you meant by “more than one ID in a transaction”), I would leave it to the Server to determine. The Client should abide to the list of IDs it gets notification for but nothing precludes a Client to perform validations outside of the planned-changes mechanism. In fact, a Client may choose to revalidate its entire database periodically even if it supports planned-changes. I don’t like it but there is no text that precludes this to happen. > What I’m worried about is a million IDs in a single transaction when a city annexes a large suburb. The client has to be prepared to accept the largest transaction the server will issue. I want to either put a hard limit on it, or allow the client to tell the server how big the transaction is. This is in units of IDs. We limited the size of URIs, but with one URI per client, we can get rid of that. If we allowed an ID to be as big as 256 bytes, a million IDs is 256Mbytes. I don’t think clients should be obligated to accept that in one POST. > > > > > Guy > > De : Brian Rosen <br@brianrosen.net <mailto:br@brianrosen.net>> > Envoyé : 8 septembre 2021 15:18 > À : Caron, Guy <g.caron@bell.ca <mailto:g.caron@bell.ca>> > Cc : Randall Gellens <rg+ietf@randy.pensive.org <mailto:rg+ietf@randy.pensive.org>>; ECRIT <ecrit@ietf.org <mailto:ecrit@ietf.org>> > Objet : [EXT]Re: [Ecrit] planned-changes: two questions > > Okay, I think the three of us are converging, Here is a restatement of your description: > 1) In a validation query, a Client can request to be notified when the proffered LI should be revalidated, and provides a URI to send the notifications to; > 2) In the validation response, the Server provides an ID that the Client associates with the LI it just validated. The server may silently ignore repeated requests to store a URI where the test in 4 below fails. > 3) Immediately thereafter, if the URI is new to the Server, the Server sends a ‘test’ notification to the URI, with an empty ID. > 4) The recipient at the URI is expected to respond with the ID provided in step 2. If it does, the Server stores the URI for future notifications. If it does not, the server ignores the request to store the URI. > 5) Some time after, the Server notifies the Client of an upcoming planned change by sending a notification to the successfully tested URI with the location ID; > 6) The client revalidates each LI in its database that matches the ID as of the date of the planned change. If no ID matches, it is a no-op at the Client. Revalidations may also result in no-op at the Client. > 7) LIs at the Client that are invalidated by the planned change are modified in its database to be valid (which probably mean another revalidation cycle) with an effective date set to <revalidateAsoF> value. > 8) The Server may send ’test’ notifications to the URI without any ID as a form of “keep-alive”. Any ID provided by the Server to the client may be used as the response to the test transaction > > > There has been a discussion of sending more than one ID in a transaction. I think that is a decent idea, but I worry about how big that could be. Either we put a hard limit in the text or have something in the response to the test transaction that specifies a size limit for that client. > > Brian > > > > On Sep 7, 2021, at 8:31 PM, Caron, Guy <g.caron@bell.ca <mailto:g.caron@bell.ca>> wrote: > > 1) In a validation query, a Client can request to be notified when the proffered LI should be revalidated, and provides a URI to send the notifications to; > 2) In the validation response, the Server provides an ID that the Client associates with the LI it just validated; > 3) Immediately thereafter, the Server sends a ‘test’ notification to the URI, without any ID;\ > [br[For every new ID? Or just once? I wanted this to be a one time registration. > [GC] Just once per offered URI. > > > > > 4) The recipient at the URI is expected to respond with the ID provided in step 2. If it does, the Server stores the URI for future notifications. If it does not, the Server [let’s pick one: reject silently the URI and block the Client permanently/provides a ‘uriNotStored’ warning response to the URI {not compatible with the current proposal to test outside of LoST}/reject silently the URI and block the Client temporarily/other?]; > [br]I don’t think an explicit failure is a problem. The LoST server can limit retries if it needs to. > [GC] Ok for HTTP failures but what I’m talking about is when it fails to return the ID, like in your DoS example. > > > > > > 5) Some time after, the Server notifies the Client of an upcoming planned change by sending a notification to the successfully tested URI with the location ID; > 6) The client revalidates each LI in its database that matches the ID as of the date of the planned change. If no ID matches, it is a no-op at the Client. Revalidations may also result in no-op at the Client. > 7) LIs at the Client that are invalidated by the planned change are modified in its database to be valid (which probably mean another revalidation cycle) with an effective date set to <revalidateAsoF> value. > [br]I wanted periodic keep alives. How would that work? > [GC] You mean at step 3? As I mentioned below, I was wondering about the necessity for periodic tests. If the group is convinced it is needed, the Server can simply redo step 3 and the Client can respond with one or many IDs it has from that Server. > > External Email: Please use caution when opening links and attachments / Courriel externe: Soyez prudent avec les liens et documents joints > > External Email: Please use caution when opening links and attachments / Courriel externe: Soyez prudent avec les liens et documents joints
- [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- [Ecrit] PLEASE READ: We need people to comment on… Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- [Ecrit] Fwd: PLEASE READ: We need people to comme… James Kinney
- Re: [Ecrit] planned-changes: two questions Jeff Martin
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Brandon Abley
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Dan Banks
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Jeff Martin
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Caron, Guy
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen
- Re: [Ecrit] planned-changes: two questions Randall Gellens
- Re: [Ecrit] planned-changes: two questions Brian Rosen