Re: [Tzdist] tzdist examples

Lester Caine <lester@lsces.co.uk> Sun, 11 January 2015 11:47 UTC

Return-Path: <lester@lsces.co.uk>
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 0C9771A1AB4 for <tzdist@ietfa.amsl.com>; Sun, 11 Jan 2015 03:47:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 SxmVGIUHxuC0 for <tzdist@ietfa.amsl.com>; Sun, 11 Jan 2015 03:46:57 -0800 (PST)
Received: from mail4.serversure.net (mail4-2.serversure.net [217.147.176.214]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DF7EE1A1A94 for <tzdist@ietf.org>; Sun, 11 Jan 2015 03:46:56 -0800 (PST)
Received: (qmail 32018 invoked by uid 89); 11 Jan 2015 11:46:52 -0000
Received: by simscan 1.3.1 ppid: 32010, pid: 32015, t: 0.0815s scanners: attach: 1.3.1 clamav: 0.96/m:52/d:10677
Received: from unknown (HELO ?10.0.0.8?) (lester@rainbowdigitalmedia.org.uk@86.169.173.116) by mail4.serversure.net with ESMTPA; 11 Jan 2015 11:46:52 -0000
Message-ID: <54B262AB.6070408@lsces.co.uk>
Date: Sun, 11 Jan 2015 11:46:51 +0000
From: Lester Caine <lester@lsces.co.uk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: tzdist@ietf.org
References: <9E54BBDC7F272E0E5799E1FE@cyrus.local> <CACzrW9D2UGZPPqEjrUdSZ28AXTc=RCfUzq5HBLPMSUMPg1ijgA@mail.gmail.com> <C3F1BA4B3DCB5656A683870D@cyrus.local> <5499D3B4.1000507@cs.ucla.edu> <B95F454529942901A2C436A7@cyrus.local> <54AAB197.5040102@cs.ucla.edu> <CAFpi07wYYyPc3T7bRPEyrQD9EGSY=U9FakeL0VYJeN0Q1J3-8w@mail.gmail.com>
In-Reply-To: <CAFpi07wYYyPc3T7bRPEyrQD9EGSY=U9FakeL0VYJeN0Q1J3-8w@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/tzdist/frlLQ-8Sn6D2eFoMpewbLoOFnR0>
Subject: Re: [Tzdist] tzdist examples
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: Sun, 11 Jan 2015 11:47:00 -0000

On 11/01/15 01:05, Tim Parenti wrote:
>         ETag does not allow for just the set of changed time zone
>         meta-data to be
>         returned in list action.
> 
>     Sure it does: just ask for the changes since a previous ETag.  I
>     think you mentioned this possibility earlier.  That is, the tzdist
>     protocol needn't invent its own "dtstamp" attribute that is a
>     confusing alternative to ETag; it can just use ETag.  That is,
>     changedsince=XXX should use an ETag for XXX.
>  
> +1.  The only benefit I can see for using a timestamp here instead would
> be if a client is switching between servers, but in that case the client
> should be doing the "modified full sync" anyway, as outlined in #3 of
> Cyrus' post at the head of this
> thread: http://www.ietf.org/mail-archive/web/tzdist/current/msg01174.html

The bit I am still unhappy about is the continuing idea that the only
way tzdist will work is from a blank piece of paper? There is no need
for every user to have to download a complete set of data just because
one server has become inaccessible - perhaps temporarily.

There are a limited number of jobs to be done and how they are done is a
little academic, as long as one can identify some consistent element.

If version is part of the ETag element, then that mechanism can be used
as a part of the process. As long as the 'publisher' selection provides
a consistent set of current AND historic versions, then even a simple
'expand/TZid/period' can be server independent. If the primary server is
no longer available, reading just the expand request from an alternative
source will give the same response. changedsince in my book is simply
how the version element is managed and is needed to flag that we do want
to check for a change rather than a clean read. Embedded devices only
need to remember what publisher and version they are currently using for
perhaps a single TZid and never need a 'full sync' ... They will just
read a single TZid, or a rolling 'expand' and then 'changedsince' is
simply 'no' or a new set of data.

The examples in msg01174 are simply overkill in a lot of cases. If the
client already has 'publisher/version' data set up to a particular
version how ever it is sourced, there is no need to access tzdist other
than to check for a new version. That is either for a single TZid
dataset, or for the full data set, and an ETag or changedsince read of
the list of TZid's will return the same set of id's which ever server is
accessed. This is even more critical when in 50 years time someone is
looking at historic material which is correctly tagged with a publisher
and version. It's not something we can 'add in a later version'!

In the future a new 'publisher' may well become the standard, and that
may well require a complete new rework of all of the material including
mapping TZid's from some old model to a new one, but nothing we are
discussing now affects that process, and while historic archives MAY
need to be completely ported to some new format, access to the original
material also requires that the original publisher dataset is also
maintained.

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk