Re: WebDAV PUSH based on RFC 6202

Cyrus Daboo <cyrus@daboo.name> Tue, 15 April 2014 14:10 UTC

Return-Path: <w3c-dist-auth-request@listhub.w3.org>
X-Original-To: ietfarch-webdav-archive@ietfa.amsl.com
Delivered-To: ietfarch-webdav-archive@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6F3391A0318 for <ietfarch-webdav-archive@ietfa.amsl.com>; Tue, 15 Apr 2014 07:10:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.275
X-Spam-Level:
X-Spam-Status: No, score=-5.275 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.272, SPF_HELO_PASS=-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 FVRhdDCMaYqS for <ietfarch-webdav-archive@ietfa.amsl.com>; Tue, 15 Apr 2014 07:10:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A8AC91A01D4 for <webdav-archive@lists.ietf.org>; Tue, 15 Apr 2014 07:10:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <w3c-dist-auth-request@listhub.w3.org>) id 1Wa41i-00042D-Uz for w3c-dist-auth-dist@listhub.w3.org; Tue, 15 Apr 2014 14:07:54 +0000
Resent-Date: Tue, 15 Apr 2014 14:07:54 +0000
Resent-Message-Id: <E1Wa41i-00042D-Uz@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <cyrus@daboo.name>) id 1Wa41i-00041U-DD for w3c-dist-auth@listhub.w3.org; Tue, 15 Apr 2014 14:07:54 +0000
Received: from daboo.name ([173.13.55.49]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <cyrus@daboo.name>) id 1Wa41h-0007dv-D6 for w3c-dist-auth@w3.org; Tue, 15 Apr 2014 14:07:54 +0000
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 2CC07631838F; Tue, 15 Apr 2014 10:07:30 -0400 (EDT)
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 CAvaY7sjxnbV; Tue, 15 Apr 2014 10:07:21 -0400 (EDT)
Received: from caldav.corp.apple.com (unknown [17.45.162.46]) by daboo.name (Postfix) with ESMTPSA id C73DA6318379; Tue, 15 Apr 2014 10:07:18 -0400 (EDT)
Date: Tue, 15 Apr 2014 10:06:05 -0400
From: Cyrus Daboo <cyrus@daboo.name>
To: Peter Saint-Andre <stpeter@stpeter.im>, Ken Murchison <murch@andrew.cmu.edu>, WebDAV <w3c-dist-auth@w3.org>
Message-ID: <11FDB0DF307670D516D54629@caldav.corp.apple.com>
In-Reply-To: <53458A0B.9080309@stpeter.im>
References: <53457537.8040205@andrew.cmu.edu> <5345771C.9090909@stpeter.im> <534578FD.5070504@andrew.cmu.edu> <53458A0B.9080309@stpeter.im>
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="2467"
Received-SPF: none client-ip=173.13.55.49; envelope-from=cyrus@daboo.name; helo=daboo.name
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.125, RP_MATCHES_RCVD=-0.652
X-W3C-Scan-Sig: lisa.w3.org 1Wa41h-0007dv-D6 08b8260fbfa88ca8a335b36eb0bb0efc
X-Original-To: w3c-dist-auth@w3.org
Subject: Re: WebDAV PUSH based on RFC 6202
Archived-At: <http://www.w3.org/mid/11FDB0DF307670D516D54629@caldav.corp.apple.com>
Resent-From: w3c-dist-auth@w3.org
X-Mailing-List: <w3c-dist-auth@w3.org> archive/latest/13422
X-Loop: w3c-dist-auth@w3.org
Resent-Sender: w3c-dist-auth-request@w3.org
Precedence: list
List-Id: <w3c-dist-auth.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:w3c-dist-auth@w3.org>
List-Unsubscribe: <mailto:w3c-dist-auth-request@w3.org?subject=unsubscribe>

Hi Peter,

--On April 9, 2014 at 10:57:31 AM -0700 Peter Saint-Andre 
<stpeter@stpeter.im> wrote:

> Well, I mention this Internet-Draft mostly to show that people have been
> thinking about this problem for at least 10 years. You could use XMPP for
> such notifications, although it might depend on what kinds of endpoints
> you're trying to support (e.g., do they or can they do XMPP). Other
> options are technologies like pubsubhubbub. There are also lots of
> proprietary technologies for such notifications, although of course we
> don't want anything proprietary. However IMHO long polling is not the
> best approach these days - we wrote RFC 6202 mostly to say that long
> polling is a bad idea and that it's better to use WebSockets instead (RFC
> 6455). But WebSockets only gives you "TCP for the Web" and you'd need to
> define some kind of application over WebSocket in order to get anything
> done (examples are SIP over WebSocket, XMPP over WebSocket, etc.).

So the big issue here of course is that nothing has happend to standardize 
a general solution to push, so we do have proprietary solutions. There are 
really two parts to what we would like to do here:

1) Recognizing that multiple proprietary solutions exist today, clients 
currently have to "probe" a server (or use hard-coded defaults based on 
hostnames) to determine which one is actually supported. What would be 
better is if there was a standard way for servers to advertise support for 
any type of push protocol. That could simply be specific DAV header items, 
or a WebDAV property that enumerates what is supported (be it proprietary 
or any new standard approach).

2) Some client folks have expressed interest in having a base "minimum to 
implement" standard push protocol that would suffice for at least 
desktop-based clients (recognizing that the mobile environment is a lot 
trickier to deal with - though of course no less important these days). The 
initial thought we had was to go the route of IMAP's IDLE command - i.e., 
make use of the existing protocol to provide an in-band solution. 
Long-polling with the WebDAV sync REPORT would seem like the best fit for 
that approach - but operational concerns with that obviously come into play.

Now, if the time is ripe for the IETF to tackle the push problem in a more 
generic way, then lets do that - but I'm not optimistic given the past 
history and the current diversity of proprietary solutions.

-- 
Cyrus Daboo