Re: [Tzdist] [saag] Fwd: WGLC for draft-ietf-tzdist-service-05

Cyrus Daboo <cyrus@daboo.name> Sun, 01 February 2015 17:03 UTC

Return-Path: <cyrus@daboo.name>
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 CD9251A89E0; Sun, 1 Feb 2015 09:03:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.788
X-Spam-Level:
X-Spam-Status: No, score=0.788 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 luFtjxH6t9V7; Sun, 1 Feb 2015 09:03:37 -0800 (PST)
Received: from daboo.name (daboo.name [173.13.55.49]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 263E01A899A; Sun, 1 Feb 2015 09:03:36 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 85F05A95403; Sun, 1 Feb 2015 12:03:34 -0500 (EST)
X-Virus-Scanned: amavisd-new at example.com
Received: from daboo.name ([127.0.0.1]) by localhost (daboo.name [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9eRo8kJ7ppp1; Sun, 1 Feb 2015 12:03:34 -0500 (EST)
Received: from [10.1.0.120] (unknown [173.13.55.49]) by daboo.name (Postfix) with ESMTPSA id 00CEDA953F8; Sun, 1 Feb 2015 12:03:32 -0500 (EST)
Date: Sun, 01 Feb 2015 12:03:30 -0800
From: Cyrus Daboo <cyrus@daboo.name>
To: Paul Eggert <eggert@cs.ucla.edu>, Lester Caine <lester@lsces.co.uk>, Daniel Kahn Gillmor <dkg@fifthhorseman.net>, saag@ietf.org, ietf-privacy@ietf.org, Eliot Lear <lear@cisco.com>
Message-ID: <04F56E6866304E628CA1C45B@cyrus.local>
In-Reply-To: <54CD5886.7020409@cs.ucla.edu>
References: <CADZyTkkLu6qQ9LCqDkTHA9o+-YVvQuaUp33kqkAt=PRaQS-Jew@mail.gmail.com> <CADZyTkkCrvTam_ba7Tq6A-cHAVZn+ktKqwWsr_PNQaz2jyTkUQ@mail.gmail.com> <874mr9aucv.fsf@alice.fifthhorseman.net> <54CBC609.4010309@lsces.co.uk> <87egqcq827.fsf@alice.fifthhorseman.net> <54CC8F13.6060808@cs.ucla.edu> <54CC9DB3.6040500@lsces.co.uk> <54CD5886.7020409@cs.ucla.edu>
X-Mailer: Mulberry/4.1.0b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size=2294
Archived-At: <http://mailarchive.ietf.org/arch/msg/tzdist/CTbtpkKz3WAQDU_7zu4IecIaBFU>
Cc: Time Zone Data Distribution Service <tzdist@ietf.org>
Subject: Re: [Tzdist] [saag] Fwd: WGLC for draft-ietf-tzdist-service-05
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, 01 Feb 2015 17:03:39 -0000

Hi Paul,

--On January 31, 2015 at 2:34:46 PM -0800 Paul Eggert <eggert@cs.ucla.edu> 
wrote:

>> some devices such as central heating controllers
>> would not need a processor capable of the sort of processing power
>> needed to handle that
>
> Even the lowliest central heating controller can easily handle the entire
> tz database, if only to discard unneeded parts as they're received.
> We're talking kilobytes here, not gigabytes or even megabytes.

Well in this day and age the IETF really ought to also require an 
"Environmental Considerations" section in specs too, alongside "Security" 
and "Privacy". If that were a factor here (and I don't see why it would not 
be) then clearly sending all the data (and throwing away all but one) vs 
sending just one tz is an added impact on power usage for all devices 
involved (servers, clients, network hardware). Yes we are talking about 
kilobytes per device but you have to multiply that by the number of devices 
(which with internet of things is only going to increase beyond what we 
have now).

As with everything there are trade offs involved here. For a personal 
device, yes I do want strong privacy for key aspects of data that device 
might use (the obvious one being location information). However, for 
"fixed" devices, like a wall-clock in an office building, in all likelihood 
the exposure of revealing what time zone it is configure to use is likely 
small.

At this point I do think it worthwhile to give clients the option to chose 
what is appropriate for them given the trade offs. So it does make sense to 
provide a "full set of tz data" option in the protocol to allow clients to 
get the entire set of current data without exposing which specific time 
zone(s) they are actually interested in (which would also remove the need 
for them to use etags). How about a "getall" action using a /allzones URI 
to retrieve all the data. The only tricky part might be explaining how the 
data is returned. For iCalendar-based formats that is easy as multiple 
VTIMEZONEs would be included in a single VCALENDAR calendar object. For the 
binary tz data format, I am not sure whether simply concatenating the 
binary data for all tzs is valid - that is something that that format will 
need to be clear about.

-- 
Cyrus Daboo