Re: [ietf-caldav] draft-daboo-webdav-sync-01
Roberto Polli <rpolli@babel.it> Mon, 16 March 2009 16:17 UTC
Return-Path: <rpolli@babel.it>
X-Original-To: ietf-caldav@osafoundation.org
Delivered-To: ietf-caldav@osafoundation.org
Received: from localhost (localhost [127.0.0.1]) by leka.osafoundation.org
(Postfix) with ESMTP id 6174A7841EF for <ietf-caldav@osafoundation.org>;
Mon, 16 Mar 2009 09:17:07 -0700 (PDT)
X-Virus-Scanned: by amavisd-new and clamav at osafoundation.org
X-Spam-Score: -0.459
X-Spam-Level:
X-Spam-Status: No, score=-0.459 tagged_above=-50 required=4 tests=[AWL=-0.560,
BAYES_50=0.001, RDNS_DYNAMIC=0.1]
Received: from leka.osafoundation.org ([127.0.0.1]) by localhost
(leka.osafoundation.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id
Hu1rMT+KrpbL for <ietf-caldav@osafoundation.org>;
Mon, 16 Mar 2009 09:17:00 -0700 (PDT)
Received: from postalo2.babel.it (81-208-88-105.ip.fastwebnet.it
[81.208.88.105]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No
client certificate requested) by leka.osafoundation.org (Postfix) with ESMTP
id 9150D77D700 for <ietf-caldav@osafoundation.org>;
Mon, 16 Mar 2009 09:16:59 -0700 (PDT)
Received: by postalo2.babel.it (Postfix, from userid 8) id 167C211C620;
Mon, 16 Mar 2009 17:16:51 +0100 (CET)
Received: from ananke.localnet (ananke.dhcp.babel.it [10.0.10.215]) (using
TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate
requested) (Authenticated sender: rpolli) by postalo2.babel.it (Postfix) with
ESMTP id 0A1C311C61A for <ietf-caldav@osafoundation.org>;
Mon, 16 Mar 2009 17:16:48 +0100 (CET)
From: Roberto Polli <rpolli@babel.it>
Organization: Babel s.r.l
To: ietf-caldav@osafoundation.org
Date: Mon, 16 Mar 2009 17:17:26 +0100
User-Agent: KMail/1.11.0 (Linux/2.6.24-21-generic; KDE/4.2.0; i686; ; )
References: <29696E9E8589A72FC19EB4F6@caldav.corp.apple.com>
<200903111314.39176.rpolli@babel.it> <49B7BD68.8010401@sun.com>
In-Reply-To: <49B7BD68.8010401@sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200903161717.26785.rpolli@babel.it>
Subject: Re: [ietf-caldav] draft-daboo-webdav-sync-01
X-BeenThere: ietf-caldav@osafoundation.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussions on Calendar Access protocol based on WebDAV
<ietf-caldav.osafoundation.org>
List-Unsubscribe: <http://lists.osafoundation.org/mailman/listinfo/ietf-caldav>,
<mailto:ietf-caldav-request@osafoundation.org?subject=unsubscribe>
List-Archive: <http://lists.osafoundation.org/pipermail/ietf-caldav>
List-Post: <mailto:ietf-caldav@osafoundation.org>
List-Help: <mailto:ietf-caldav-request@osafoundation.org?subject=help>
List-Subscribe: <http://lists.osafoundation.org/mailman/listinfo/ietf-caldav>,
<mailto:ietf-caldav-request@osafoundation.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Mar 2009 16:17:07 -0000
On mercoledì 11 marzo 2009 14:32:24 you wrote: > > I miss the point: > > * as of now we can find events by time-range with caldav for queries 1) > > and 2) using CREATED|LAST-MOD > > Hmm, this is rather dangerous since those iCalendar properties are > controlled by the client, not by the server. I checked and you're right, but that's not evil. example: 1) let's assume I got one client and one server in sync at T0 2) let's create 100 items (E1..E100) on client, and trigger a new sync at T1 3) imagine that sync lasts 2 minutes and ends at T3 = T1+120secs 4) there're now events E1..E100 on server that have been created since the beginning of the last sync at T2 : T1< T2 <T3 At next sync I got 2 hypothesis: - ask for events created after T0, thus retrieving as new events the ones I put there - ask for events created after T3, thus missing events created on caldav while syncing (eg. imagine sync is scheduled each 5minutes) using a sync engine, I could avoid storing etags data setting CREATED and LAST-MODIFIED as T0 while syncing events between server and client. In that way all modifications made during sync (should) remain external to the changes made by users. That said, it seems that playing with etags is nicely faster (but needs a sync engine) and the only issue remains about time-range filter. Hope it helps+Peace, R. -- Roberto Polli Babel S.r.l. - http://www.babel.it Tel. +39.06.91801075 - fax +39.06.91612446 P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma) "Il seguente messaggio contiene informazioni riservate. Qualora questo messaggio fosse da Voi ricevuto per errore, Vogliate cortesemente darcene notizia a mezzo e-mail. Vi sollecitiamo altresì a distruggere il messaggio erroneamente ricevuto. Quanto precede Vi viene chiesto ai fini del rispetto della legge in materia di protezione dei dati personali."
- Re: [ietf-caldav] draft-daboo-webdav-sync-01 Julian Reschke
- Re: [ietf-caldav] draft-daboo-webdav-sync-01 Roberto Polli
- Re: [ietf-caldav] draft-daboo-webdav-sync-01 Roberto Polli
- Re: [ietf-caldav] draft-daboo-webdav-sync-01 Arnaud Quillaud
- Re: [ietf-caldav] draft-daboo-webdav-sync-01 Roberto Polli
- Re: [ietf-caldav] draft-daboo-webdav-sync-01 Cyrus Daboo
- Re: [ietf-caldav] draft-daboo-webdav-sync-01 Roberto Polli
- [ietf-caldav] draft-daboo-webdav-sync-01 Cyrus Daboo