Re: [Tzdist] tzdist examples
Lester Caine <lester@lsces.co.uk> Mon, 12 January 2015 14:11 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 F00B51A9145
for <tzdist@ietfa.amsl.com>; Mon, 12 Jan 2015 06:11:11 -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 uoRbyUR5tv2p for <tzdist@ietfa.amsl.com>;
Mon, 12 Jan 2015 06:11:05 -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 5F60D1A913D
for <tzdist@ietf.org>; Mon, 12 Jan 2015 06:11:04 -0800 (PST)
Received: (qmail 11714 invoked by uid 89); 12 Jan 2015 14:11:01 -0000
Received: by simscan 1.3.1 ppid: 11706, pid: 11711, t: 0.0894s
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.160.91.166)
by mail4.serversure.net with ESMTPA; 12 Jan 2015 14:11:01 -0000
Message-ID: <54B3D5F4.4040908@lsces.co.uk>
Date: Mon, 12 Jan 2015 14:11:00 +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>
<54B262AB.6070408@lsces.co.uk> <54B2E134.2020408@cs.ucla.edu>
<54B2F454.408@lsces.co.uk> <33FD0F34595FE967A6D38EBF@cyrus.local>
In-Reply-To: <33FD0F34595FE967A6D38EBF@cyrus.local>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/tzdist/p3t25sr5Uvcc4fJdyS2STywUuR0>
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, 12 Jan 2015 14:11:12 -0000
On 12/01/15 13:44, Cyrus Daboo wrote: >> I don't see any problem - as far as I am aware as long as the hash >> returned via ETag for the same data package is the same for each server >> then there is no problem > > That may not happen. Remember that each server takes the raw publisher > data and generates a representation in the media formats it servers up. > For iCalendar, the generated data is not guaranteed to be byte-for-byte > the same across all servers because different iCalendar libraries may > generate data in slightly different ways, or generate different values > for required properties like the product id. > > We need to separate ETags (which represent a byte-for-byte state token > for an HTTP resource) from the "semantic" state token - which in the > case of tzdist is the tuple (publisher, version). > > The (publisher, version) tuple is what clients use to sync across > different servers - the ETag is what clients use to update from a server > it already has data for. That is covered in the examples I sent out - in > particular #3 which shows a client with existing data from one server, > trying to sync with a different server. I believe that covers exactly > what you are after. That all makes perfect sense, and I can understand the problems with the format of information being different. However it is my understanding that the generation of a value for ETag need not be strictly locked to the physical data. Weak validation is specifically defined as semantically equivalent and NOT byte for byte matches. If the data packet has a semantic difference there something is fundamentally wrong with that source? I'm not bothered about just what ETag is doing, as long as there is now agreement that (publisher, version) is the basis for something that is flexible enough to meet some peoples alternate requirements while allowing all of the currently identified race conditions to be avoided. At the present time, as long as a publisher follows the basic rules I can't see any possible holes in the future, even if a completely new TZ identification structure came into existence, so if ETag says 'no change' or a request returns an empty packet until such time as there is new information then I'm not too bothered. Ideally both should simply work? I think the argument is if ETag should be the only mechanism? -- 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
- [Tzdist] tzdist examples Cyrus Daboo
- Re: [Tzdist] tzdist examples Daniel Migault
- Re: [Tzdist] tzdist examples Stephen Colebourne
- Re: [Tzdist] tzdist examples Cyrus Daboo
- Re: [Tzdist] tzdist examples Stephen Colebourne
- Re: [Tzdist] tzdist examples Cyrus Daboo
- Re: [Tzdist] tzdist examples Paul Eggert
- Re: [Tzdist] tzdist examples Doug Royer
- Re: [Tzdist] tzdist examples Cyrus Daboo
- Re: [Tzdist] tzdist examples Lester Caine
- Re: [Tzdist] tzdist examples Daniel Migault
- Re: [Tzdist] tzdist examples Stephen Colebourne
- Re: [Tzdist] tzdist examples Lester Caine
- Re: [Tzdist] tzdist examples Cyrus Daboo
- Re: [Tzdist] tzdist examples Lester Caine
- Re: [Tzdist] tzdist examples Daniel Migault
- Re: [Tzdist] tzdist examples Ken Murchison
- Re: [Tzdist] tzdist examples Daniel Migault
- Re: [Tzdist] tzdist examples Paul Eggert
- Re: [Tzdist] tzdist examples Paul Eggert
- Re: [Tzdist] tzdist examples Lester Caine
- Re: [Tzdist] tzdist examples Cyrus Daboo
- Re: [Tzdist] tzdist examples Lester Caine
- Re: [Tzdist] tzdist examples Doug Royer
- Re: [Tzdist] tzdist examples Tim Parenti
- Re: [Tzdist] tzdist examples Lester Caine
- Re: [Tzdist] tzdist examples Paul Eggert
- Re: [Tzdist] tzdist examples Lester Caine
- Re: [Tzdist] tzdist examples Paul Eggert
- Re: [Tzdist] tzdist examples Lester Caine
- Re: [Tzdist] tzdist examples Cyrus Daboo
- Re: [Tzdist] tzdist examples Lester Caine