[dispatch] =?UTF-8?Q?Re:__Potential_incoming_work:_web_push_for_IMAP, _Cal?= DAV and CardDAV

"Bron Gondwana" <brong@fastmailteam.com> Fri, 25 October 2019 02:44 UTC

Return-Path: <brong@fastmailteam.com>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8DB7D1200E7 for <dispatch@ietfa.amsl.com>; Thu, 24 Oct 2019 19:44:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=KjYjRgZN; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=XrcdE3fO
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 dtDLV30LnVrL for <dispatch@ietfa.amsl.com>; Thu, 24 Oct 2019 19:44:49 -0700 (PDT)
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 52C3112008D for <dispatch@ietf.org>; Thu, 24 Oct 2019 19:44:49 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id DCCE842E; Thu, 24 Oct 2019 22:44:46 -0400 (EDT)
Received: from imap99 ([10.202.2.99]) by compute6.internal (MEProxy); Thu, 24 Oct 2019 22:44:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:cc:subject:content-type; s=fm1; bh=+TTj Mwvc37xXyr/Hf12SLko/Qc1B8t5du0YsB57kCVg=; b=KjYjRgZN+OmX9DKsAXxn LZrBhHcjEAfSB+uE3J0E+iWD0Ov5Wu523ZKb/0XnYChvgfqPaQD9y/D+DQygNai+ fUnUnTXf2J2X5qg1spuyOWYom82/hqzkKPdfNvzhYtArIQwmQtsxwYwCuuCNOBGY /FTZO2vIekhVwG4GgD/igGUjG1U9RrZtLg8B+QHQKFrPPEu5Zg1YKV7hXc2ucirg h2UViHQDl0sH0BbY5shRrcFwMJcAmfhM1WYfYVv1VIox5HyMsGwwynjxpnq8X6rc iAEvAXpjlgb/gN0SsMj/IArFCD8EnsEiLpjbCDTVuBhXjGauAGbq1b3iVRx+JWha RA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=+TTjMw vc37xXyr/Hf12SLko/Qc1B8t5du0YsB57kCVg=; b=XrcdE3fOtPOVEcuWN+zLI4 k2cB2FBcV2tJjvKsn5wmE8t7rhrAp+SuJAs9Zr+IsY3yDGK934N7RK6nOLbyCPgs 9ZyTD0dUhRgY2qQQFOn00K4PXab9zBL1Q1E0DuSG1UHL0xl5W4RlEQcsQpCxNNZs 30XxlajH2ikT5k3ByLHAPyXRsmoNF4jcEd3+UDpc6zAPcUGEc1w6XkWxSuPo+qur DiHEoMEcf27eHvZTPxEuyZ6LJlIsuGKAp1KnI6cqjOxFb8hAIhcTBnvJGCAwUkIr WeufFHGoZOAda4k34X3QX15wC7kJTtO6m+4vOmGRAMS5ZfBiV7s8urCAiKZtaYOg ==
X-ME-Sender: <xms:nmGyXQnWrkQkGL7OvbqR-vPLiBV2ICtX4sWkoa6RWKj8brJ4LYVYEQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrledvgdeiudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsegrtderreerreejnecuhfhrohhmpedfuehrohhn ucfiohhnugifrghnrgdfuceosghrohhnghesfhgrshhtmhgrihhlthgvrghmrdgtohhmqe enucffohhmrghinhepfihikhhiphgvughirgdrohhrghdpghhithhhuhgsrdgtohhmpdhi vghtfhdrohhrghenucfrrghrrghmpehmrghilhhfrhhomhepsghrohhnghesfhgrshhtmh grihhlthgvrghmrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:nmGyXZBBusAB9h0xrH_fMHTsNQtE1BDeKgkg-N01xhBvewOZNj7s8A> <xmx:nmGyXYwro7SLJFIHT6YsYXcdgCJN0VaKTduEBDM4-JYpxK2yMFbyXA> <xmx:nmGyXdelzEwYI2vr9b8hZRBqQSp0PQZ9_vzqvk1EoyGUCjYUUEhREQ> <xmx:nmGyXXK-SH39ZOSL-ZBQ_zrdYBlGLx70mI3hH44T3e8B1Lvt9mhBlg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 18E8E388EDA; Thu, 24 Oct 2019 22:44:46 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.7-470-gedfae93-fmstable-20191021v4
Mime-Version: 1.0
Message-Id: <00358631-a34d-45db-bf87-44709972387b@beta.fastmail.com>
In-Reply-To: <DFC3797D-DA12-4470-9CBE-D7BD981DB6CE@gmail.com>
References: <290514e7-79ce-4852-bf05-a684e2e8d045@beta.fastmail.com> <DFC3797D-DA12-4470-9CBE-D7BD981DB6CE@gmail.com>
Date: Fri, 25 Oct 2019 13:44:25 +1100
From: Bron Gondwana <brong@fastmailteam.com>
To: Michael Toomim <toomim@gmail.com>
Cc: dispatch@ietf.org
Content-Type: multipart/alternative; boundary="1f514ff9a47f44a2a646c7cec04fe3d3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/eV5f7HHm0HC2iNrkXHPBEhnIjRg>
Subject: [dispatch] =?UTF-8?Q?Re:__Potential_incoming_work:_web_push_for_IMAP, _Cal?= DAV and CardDAV
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Oct 2019 02:44:52 -0000

It looks like the conversation went a long way down this path, which by my reading is "ask the server to maintain a long running connection and keep pushing updates down it" which is a slightly different use-case from the push proposals I was making, which are:

 * Client establishes a relationship with a third party push server (potentially via some platform specific, highly efficient protocol - e.g. APNs <https://en.wikipedia.org/wiki/Apple_Push_Notification_service> or GCM <https://en.wikipedia.org/wiki/Google_Cloud_Messaging>)
 * Client requests server inform the third party push server when there are changes.
 * Third party push server passes details down to client, which can then request updates from the server without having to hold a connection open or poll.

This is a general pattern which 1st party clients frequently use (including ours at Fastmail) but which doesn't have a general solution, so my impression of the work required there is defining a standard for how to request the server make that push to a third party, and what gets included in that push.

This other work of having the server hold a connection open is also interesting and potentially useful, it's just not exactly what I was suggesting!

Cheers,

Bron.


On Wed, Oct 23, 2019, at 16:27, Michael Toomim wrote:
> Hi Bron! The work on the Braid HTTP extension also provides a "web push". We are also trying to find a general approach.
> 
> The current design allows clients to specify a "Subscribe" header in the GET request, which tells the server to keep the connection open and stream all updates to the resource, as they happen. We will be publishing a new draft within the next week or two.
> 
>> On Oct 22, 2019, at 9:08 PM, Bron Gondwana <brong@fastmailteam.com> wrote:
>> 
>> There's a couple of interesting things that have been going on in different places that I'm working on trying to get aligned and to find a home for at the IETF:
>> 
>> Web push for IMAP servers here:
>> 
>> https://github.com/coi-dev/coi-specs/blob/master/webpush-spec.md
>> 
>> Web push for CalDAV and CardDAV servers here:
>> 
>> https://datatracker.ietf.org/doc/draft-gajda-dav-push/
>> 
>> (there's a more recent version in the CalConnect private repositories - we haven't been pushing it just yet because the CALEXT group is already pretty busy, and we're not sure if it belongs there or in another group).
>> 
>> And of course JMAP already has a web push built in with the push subscription object:
>> 
>> https://tools.ietf.org/html/rfc8620#section-7
>> 
>> Anyway, I'm not sure if this is ripe for discussion at Singapore, or indeed if we've missed the deadlines for a BOF, but I figured if I post here I might see if there's any others working on similar things and if we could pull everyone together to join forces and make sure all the different push mechanisms work similarly.
>> 
>> Cheers,
>> 
>> Bron.
>> 
>> --
>>  Bron Gondwana, CEO, Fastmail Pty Ltd
>> brong@fastmailteam.com
>> 
>> 
>> _______________________________________________
>> dispatch mailing list
>> dispatch@ietf.org
>> https://www.ietf.org/mailman/listinfo/dispatch

--
 Bron Gondwana, CEO, Fastmail Pty Ltd
 brong@fastmailteam.com