Re: [Tzdist] tzdist examples

Daniel Migault <mglt.ietf@gmail.com> Mon, 05 January 2015 14:43 UTC

Return-Path: <mglt.ietf@gmail.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 6D6981A88A4 for <tzdist@ietfa.amsl.com>; Mon, 5 Jan 2015 06:43:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.1
X-Spam-Level:
X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 cUQ_j5eJYf7U for <tzdist@ietfa.amsl.com>; Mon, 5 Jan 2015 06:43:35 -0800 (PST)
Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 944201A8867 for <tzdist@ietf.org>; Mon, 5 Jan 2015 06:43:34 -0800 (PST)
Received: by mail-wg0-f54.google.com with SMTP id z12so9846447wgg.41 for <tzdist@ietf.org>; Mon, 05 Jan 2015 06:43:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=opAF+tMiwOhrBNctii0ceHX6NDUdUL8YPidkNj19fGE=; b=CYZ6+Yx5LWC1aH2KdS4ZyPPMXO2OFctR+R8Sew6r+Jviv0mcpDVcmg98nx029NpXo5 ptlE6Ph2PjFjtviN5fC2d2ZpaS4IUumSfzkE+pCb1V3hH+o5BAd+EvvX3XU2rn/bmdch eb20dHfQUc6Sw/knFkHx+CniUgfA/PVL+k4/cfoJfqeyFsp39IDXttzljsNzVMfpp1g2 xypPxBioPVs8TT8+bd7dx4I+dv/KJgp+TEMcuHUzdabv9HSUGodo2dlXp4d1gwOAS7rZ HOlQ06F1cAjkqZvilFiTJXjXUtLE7xU7N1Gp+ajlzPPLwpBJPm1UoVgnrBUUDjfsgdAJ CrFw==
MIME-Version: 1.0
X-Received: by 10.194.62.163 with SMTP id z3mr180778241wjr.74.1420469013268; Mon, 05 Jan 2015 06:43:33 -0800 (PST)
Received: by 10.194.236.106 with HTTP; Mon, 5 Jan 2015 06:43:33 -0800 (PST)
In-Reply-To: <54A15BB4.70909@andrew.cmu.edu>
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>
Date: Mon, 5 Jan 2015 15:43:33 +0100
Message-ID: <CADZyTkn=sgHqS2RhtkGxVKh0NZ_HSCM31+qL-8f=P4eXaGodBQ@mail.gmail.com>
From: Daniel Migault <mglt.ietf@gmail.com>
To: Ken Murchison <murch@andrew.cmu.edu>
Content-Type: multipart/alternative; boundary=047d7b66fa67f34fd7050be8b6c6
Archived-At: http://mailarchive.ietf.org/arch/msg/tzdist/AFMNNa_OP8NcnuiN4yMGyiIxKc8
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: Mon, 05 Jan 2015 14:43:37 -0000

Dear Friends and Colleagues,

Let me wish you a happy new year 2015. We are close to finalize the tz-dist
draft, and I expect it to be closed by next week!

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.

Best Regards,
Daniel and Eliot

Here is the text from Cyrus that describes the use of changedsince for
synchronization.

So let me clarify by trying to compare the ETag vs changedsince behavior
for monolithic vs incremental version publishers:

1) Full sync /zones
   a) monolithic publisher: returns 500 items
   b) incremental publisher: returns 500 items

2) Poll to sync /zones + If-None-Match - nothing changed
   a) monolithic publisher: returns HTTP 304 status
   b) incremental publisher: returns HTTP 304 status

3) Poll to sync /zones?changedsince - nothing changed
   a) monolithic publisher: returns empty list response
   b) incremental publisher: returns empty list response

4) Poll to sync /zones + If-None-Match - assume one time zone changed
   a) monolithic publisher: returns 500 items
   b) incremental publisher: returns 500 items

5) Poll to sync /zones?changedsince - assume one time zone changed
   a) monolithic publisher: returns 500 items
   b) incremental publisher: returns 1 item

So 5(b) is a win for reducing the size of the response in the case where a
small number of time zones change when using an incremental publisher. Note
that all of the above options are supported by the protocol as it stands
today and can make use of intermediary caching for improved performance
during polling.

Whilst the IANA DB is currently using a monolithic version update scheme,
someone else could decide to republish that data using an incremental
scheme, e.g., by introducing their own per-time zone revision counters.

So I don't want to preclude the possibility of 5(b). So the question is can
we get consensus on whether or not the optimization that 5(b) represents is
worthwhile for the base tzdist specification. The answer to that determines
whether changessince stays or goes...

On Mon, Dec 29, 2014 at 2:48 PM, Ken Murchison <murch@andrew.cmu.edu> wrote:

> On 12/26/2014 12:45 PM, Daniel Migault wrote:
>
>> My current understanding is that there is not a strong support for
>> keeping "changedsince" in the current spec, and that it could be left for
>> future work.
>>
>
> I wouldn't go that far.
>
> I agree with Cyrus that changedsince is important to reduce the size of
> the list response for clients looking to update the full set of time
> zones.  This is especially true now that we have added versioning
> information to the list response thus growing its size.
>
> Regardless of whether a client chooses to use changedsince, this
> functionality is fairly trivial to implement in a server, and 3 existing
> servers have already done so.  In fact, this functionality has been interop
> tested doing server to server time zone updates.
>
> --
> Kenneth Murchison
> Principal Systems Software Engineer
> Carnegie Mellon University
>
>


-- 
Daniel Migault
Orange Labs -- Security
+33 6 70 72 69 58