Re: [Tzdist] tzdist examples

Lester Caine <lester@lsces.co.uk> Mon, 05 January 2015 16:03 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 80A031A19F2 for <tzdist@ietfa.amsl.com>; Mon, 5 Jan 2015 08:03:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.5
X-Spam-Level:
X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, 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 hfF1tlrpubN7 for <tzdist@ietfa.amsl.com>; Mon, 5 Jan 2015 08:03:56 -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 BC98A1A0AC8 for <tzdist@ietf.org>; Mon, 5 Jan 2015 08:03:50 -0800 (PST)
Received: (qmail 20548 invoked by uid 89); 5 Jan 2015 16:03:48 -0000
Received: by simscan 1.3.1 ppid: 20542, pid: 20545, t: 0.0890s 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; 5 Jan 2015 16:03:48 -0000
Message-ID: <54AAB5E4.1080907@lsces.co.uk>
Date: Mon, 05 Jan 2015 16:03:48 +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: Time Zone Data Distribution Service <tzdist@ietf.org>
References: <9E54BBDC7F272E0E5799E1FE@cyrus.local> <CACzrW9D2UGZPPqEjrUdSZ28AXTc=RCfUzq5HBLPMSUMPg1ijgA@mail.gmail.com> <C3F1BA4B3DCB5656A683870D@cyrus.local> <5499D3B4.1000507@cs.ucla.edu> <B95F454529942901A2C436A7@cyrus.local> <CADZyTknKqX1huyTYRKMT90axQQ1HBxbT1HSiBBX+Z2ihWrJOFQ@mail.gmail.com> <85fa97ec-11d0-42a8-86ba-31b2ccbb248c.maildroid@localhost> <4CC1B5761BAFD1A5F64AECF3@cyrus.local> <db8d50f2-452a-487c-8a88-87edd8d824ac.maildroid@localhost> <CADZyTkngZptxhet-EzBp1=YtHKcR1hXj5Kz4wKSmjK50qTF+6g@mail.gmail.com> <54A15BB4.70909@andrew.cmu.edu> <CADZyTkn=sgHqS2RhtkGxVKh0NZ_HSCM31+qL-8f=P4eXaGodBQ@mail.gmail.com>
In-Reply-To: <CADZyTkn=sgHqS2RhtkGxVKh0NZ_HSCM31+qL-8f=P4eXaGodBQ@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/tzdist/VWuSU0fjT91gYcvYreIRC757C30
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: Mon, 05 Jan 2015 16:03:59 -0000

On 05/01/15 14:43, Daniel Migault wrote:
> To my knowledge, the only remaining issue is Issue # 32 on
> history/changedsince. Cyrus needs some more feed backs from the WG to
> determine whether changedsince should stay or should go. Please provide
> your feed back by Thursday so Cyrus can provide the last version of the
> draft. Most likely, this draft will go to WGLC as all issues have been
> addressed.

Am back in front of a proper desktop, but still working through 'paid'
traffic.

I still need to review a number of points, but I think this is still
being made a lot more complicated than it needs to be!

The whole problem is simply one of identifying that the information
being used is no longer valid. With the current OS based distribution,
applications do not get information that TZ has changed, so a service
that can flag 'changedsince' make sense. What also fails at the moment
is that the data provided via the OS updates is of variable quality. Be
that due to factors like binary data without leapseconds, or truncated
data where we have no idea just what the truncation is.

Create a reliable source that can be identified - publisher - add a
simple version mechanism - version - and we can at least have a little
more security that information normalized with a particular
publisher/version can be used reliably. Add the information that the
data is using version x but we now have x+1 which affects only a very
small subset of TZid's then one can establish if any of the data being
used MAY be affected. The BULK of the TZ traffic on tzdist need only be
diff sets of material.

Embedded devices and other services which don't need a full TZ dataset
will either use expand, or perhaps a single TZ dataset. If there is a
version change but it does not affect that TZid, the used 'version'
simply gets updated, while if the TZid IS affected the device has a
trigger to do something, but exactly what is up to the device. As a
minimum it would download the correct data ... and update version.

Over time as a publisher provides updates, each historic version
snapshot is simply a natural part of the process. As material is
archived a mechanism that records the publisher/version ensures that the
matching view of the TZ (and leapsecond) data can be recalled. It is not
putting any undue load on the server, simply providing a reliable way of
establishing the state of TZ when the data was created, and creating a
diff between the current version and the archived one will also come out
in the wash as it will only contain those TZid records that have
changed. Getting this process working from day one gets around the
current agro off having to reverse engineer the data from the new
complete data dump and make life very much easier for the multitude of
devices that currently have no means of even knowing a change has occurred.

Binary leapsecond correct data is simply a different wrapper around the
packet of TZid data. All of the embedded devices I'm currently looking
at do not use a seconds based calendar and it would be interesting to
know just how many calendar systems are day/time based rather than
'second'. There has been a debate in other lists over replacing the
second epoch based system with something a little more practical that
does not simply truncate the calendar at different points, and I know of
no archival system that uses seconds based calendars, using day/time
based binary data instead.

-- 
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