Re: [Tzdist] tzdist examples

Tim Parenti <tim@timtimeonline.com> Sun, 11 January 2015 01:05 UTC

Return-Path: <tim@timtimeonline.com>
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 B412C1A1A8A for <tzdist@ietfa.amsl.com>; Sat, 10 Jan 2015 17:05:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.198
X-Spam-Level:
X-Spam-Status: No, score=-1.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_NEUTRAL=0.779] autolearn=no
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 A-N44GgZ9pRX for <tzdist@ietfa.amsl.com>; Sat, 10 Jan 2015 17:05:37 -0800 (PST)
Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com [209.85.192.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7858E1A1A94 for <tzdist@ietf.org>; Sat, 10 Jan 2015 17:05:32 -0800 (PST)
Received: by mail-qg0-f43.google.com with SMTP id z107so13825732qgd.2 for <tzdist@ietf.org>; Sat, 10 Jan 2015 17:05:31 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ebgNmnyZGGYAZkyIOBQ/rIwj30RNajImwURSyaWOnfU=; b=d2dJtP6f93wjDQXE7vPFnObK112xn5hJs19S5tHFPyCrxo4tDB1vMBc8n3SFzaREiO igKnP5UHOVdcJDA+QSuEapkK1zwNdDEGv9J9R4YZv5zoDByyzcX2HDggIU/GkmDdq4NZ q1VLw0HZEMQn7FLVcVqKEi6dgMoNKl/Dj8lRjf1sz/A1OvQ9OYWvkZF1Ns5lYN1S85Wh NEW+dRgLaaA4jMD47YKW2aoGA60IvakhbT4kRErmbufslXCaeJuPh60dVUA4KBb2gA/W EC+0MntKLb2EER6unmADjpluxNidSSQe/jx8qZ1Fcqt1P/4q0Nwrxs6SJYbB/kOFpaXj Arxw==
X-Gm-Message-State: ALoCoQkdLr0sEr5uWotGt7E85PfpFIduBVD/68jXR/ewgv1D//5eHfi5KDdPMp3t9+nRxheAtb9J
X-Received: by 10.140.104.229 with SMTP id a92mr37132335qgf.78.1420938331458; Sat, 10 Jan 2015 17:05:31 -0800 (PST)
Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com. [209.85.216.50]) by mx.google.com with ESMTPSA id a3sm11057368qag.22.2015.01.10.17.05.29 for <tzdist@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 10 Jan 2015 17:05:29 -0800 (PST)
Received: by mail-qa0-f50.google.com with SMTP id k15so1505648qaq.9 for <tzdist@ietf.org>; Sat, 10 Jan 2015 17:05:29 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.224.135.138 with SMTP id n10mr39667747qat.45.1420938329347; Sat, 10 Jan 2015 17:05:29 -0800 (PST)
Received: by 10.96.89.161 with HTTP; Sat, 10 Jan 2015 17:05:29 -0800 (PST)
In-Reply-To: <54AAB197.5040102@cs.ucla.edu>
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>
Date: Sat, 10 Jan 2015 20:05:29 -0500
Message-ID: <CAFpi07wYYyPc3T7bRPEyrQD9EGSY=U9FakeL0VYJeN0Q1J3-8w@mail.gmail.com>
From: Tim Parenti <tim@timtimeonline.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Content-Type: multipart/alternative; boundary=001a11c297625e63ac050c55fc94
Archived-At: <http://mailarchive.ietf.org/arch/msg/tzdist/N9YnXJJQ16z9BP7w7ueg1yMs1Lg>
Cc: Cyrus Daboo <cyrus@daboo.name>, Time Zone Data Distribution Service <tzdist@ietf.org>
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 01:05:56 -0000

On 5 January 2015 at 10:45, Paul Eggert <eggert@cs.ucla.edu> 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

One other thing.  It should be acceptable for a server, for whatever
> reason, to ignore changedsince=XXX, and simply pretend that everything has
> changed and to list all the time zones.  This might occur when a server is
> replaced or its time zone publisher changes, or it could merely be a cheap
> server.  That is, the changesince= optimization should be optional on the
> server side.


+1; this is a very good point.

On 23 December 2014 at 13:24, Stephen Colebourne <scolebourne@joda.org>
 wrote:

> One final (optional) optimisation is that the ETag of the individual
> zone can be returned in the list response. This is effectively the
> "datatoken", but gives it a much more meaningful definition. Since
> making use of this requires querying the ETag from the clients HTTP
> cache, not all clients will be able to make use of it, but using the
> ETag of the zone response here is much more web-friendly than a second
> random "datatoken".
>

Also, +1 to further investigating Stephen's potential optimization.

--
Tim Parenti