Re: [Tzdist] Fwd: [tzdist] #32 (service): managing historical data

Cyrus Daboo <cyrus@daboo.name> Tue, 16 December 2014 21:34 UTC

Return-Path: <cyrus@daboo.name>
X-Original-To: tzdist@ietfa.amsl.com
Delivered-To: tzdist@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 11EAF1A875E for <tzdist@ietfa.amsl.com>; Tue, 16 Dec 2014 13:34:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 S0yboFaZj_JF for <tzdist@ietfa.amsl.com>; Tue, 16 Dec 2014 13:34:03 -0800 (PST)
Received: from daboo.name (daboo.name [173.13.55.49]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CD24B1A8756 for <tzdist@ietf.org>; Tue, 16 Dec 2014 13:34:03 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id EDBC264587F; Tue, 16 Dec 2014 16:34:02 -0500 (EST)
X-Virus-Scanned: amavisd-new at example.com
Received: from daboo.name ([127.0.0.1]) by localhost (daboo.name [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F90dNcESeIgM; Tue, 16 Dec 2014 16:34:02 -0500 (EST)
Received: from caldav.corp.apple.com (unknown [17.45.162.46]) by daboo.name (Postfix) with ESMTPSA id C67CB645870; Tue, 16 Dec 2014 16:34:01 -0500 (EST)
Date: Tue, 16 Dec 2014 16:33:57 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Doug Royer <douglasroyer@gmail.com>, Time Zone Data Distribution Service <tzdist@ietf.org>
Message-ID: <59FC7AD7C4EC6D33043E9E3F@caldav.corp.apple.com>
In-Reply-To: <549093FF.3090708@gmail.com>
References: <059.5da79d7c9d394e20e3c22513cfe04c33@tools.ietf.org> <5488A6E6.8050903@lsces.co.uk> <CADC+-gTiyJ4QHZT6m3je9M9-ifSELnSWgmgy7iXSWNS+p8pthg@mail.gmail.com> <5488C0EA.8090505@lsces.co.uk> <CADC+-gTgckSe1ca6Sai6RguQid=ReM7bH6K8+dVVFm-YfbpFbA@mail.gmail.com> <5488DA56.2090306@lsces.co.uk> <CADC+-gQN=Qb2y8M-bHnPzMcK8r=xUG-seQ7XzvZwwcWsHpHnBQ@mail.gmail.com> <54895986.6060806@lsces.co.uk> <5489CA90.1070307@gmail.com> <35BC5886C9A58F866E8A46A8@caldav.corp.apple.com> <5489D9F7.3080207@gmail.com> <D196D63077FEC1B090DF7C86@caldav.corp.apple.com> <5489F79E.4080909@gmail.com> <BC19CC6916DC0E59CA63737D@caldav.corp.apple.com> <548B929C.3010505@gmail.com> <548C04F8.30005@lsces.co.uk> <D0F712C2A7EF425A8887E231@cyrus.local> <548DD49E.2050300@gmail.com> <4316F5E10254D07BBC24E4E1@caldav.corp.apple.com> <548F5B6B.4090702@gmail.com> <CADZyTknKw3zYZgF4Udiu4Ythz3OD2-AXc-96VBrq1GXYtYfu8Q@mail.gmail.com> <9A4B38EEDB927575ED1A77F1@caldav.corp.apple.com> <549093FF.3090708@gmail.com>
X-Mailer: Mulberry/4.1.0b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1540"
Archived-At: http://mailarchive.ietf.org/arch/msg/tzdist/_5WFFPUzPmtZhMOvZq--ajJQd7w
Subject: Re: [Tzdist] Fwd: [tzdist] #32 (service): managing historical data
X-BeenThere: tzdist@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <tzdist.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tzdist>, <mailto:tzdist-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tzdist/>
List-Post: <mailto:tzdist@ietf.org>
List-Help: <mailto:tzdist-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tzdist>, <mailto:tzdist-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Dec 2014 21:34:05 -0000

Hi Doug,

--On December 16, 2014 at 1:20:15 PM -0700 Doug Royer 
<douglasroyer@gmail.com> wrote:

>> As I proposed before I want to see the version number be part of the
>> meta-data associated with the time zone data - i.e., part of the list
>> action response. I don't want to see it in the time zone data due to
>> the fact that, with the current manner in which IANA tz data is
>> "tagged" with a version, the entire set of time zones would be marked
>> as changed.
>
> That point is valid, however as soon as the data is saved on the
> tzdist-server, and the first fetch is performed, is it not just as likely
> that it would trigger a everything is out of date when they compare it to
> 'nothing authoritative known about this TZID yet - so get it' ?

OK, so when a list action changedsince is done we need to make sure of the 
following:

1) The server only reports a time zone as changed if the underlying data or 
meta-data (other than version id) has changed.

2) The server always reports the latest versions now in use for each 
publisher.

So #1 allows clients to fetch the updated tzdata and update any meta-data 
associated with a "changed" time zone.

#2 allows the client to update the version id meta-data for any other time 
zone it has cached, but was not reported in #1.

Note that, if a publisher chooses to include a version number in time zones 
they publish, and they ensure those only change when the data changes, then 
having the version embedded in the time zone data works fine as part of #1.

-- 
Cyrus Daboo