Re: [imapext] offline mode, was Re: [ietf-smtp] Fwd: Request to form a new WG: JMAP

Brandon Long <blong@google.com> Tue, 22 November 2016 05:38 UTC

Return-Path: <blong@google.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E477F129455 for <imapext@ietfa.amsl.com>; Mon, 21 Nov 2016 21:38:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Level:
X-Spam-Status: No, score=-4.197 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, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 8y7_NcQQTiEC for <imapext@ietfa.amsl.com>; Mon, 21 Nov 2016 21:38:13 -0800 (PST)
Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7EBBF129439 for <imapext@ietf.org>; Mon, 21 Nov 2016 21:38:13 -0800 (PST)
Received: by mail-oi0-x235.google.com with SMTP id v84so7747277oie.3 for <imapext@ietf.org>; Mon, 21 Nov 2016 21:38:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lzEB3aw2poADywt2x1/ivBObOpyJswVMUVJsNWQu6ys=; b=ph7DCK3gTuk01nT+k1vtTo6MPBiiQsdMUh0cQHV9zWa5jMWY//v2k3ZP2yd4fLLf0Q 8gXA3l4xTtkIM4IfVWFW3dEtGzI6mFqlmB66FB3mnCJAojUTtImZdrtfGl0lFFw6OR4p rsaoXyW7dNuPbJ/E+zJF1vwzG5sTZ1smOFxwrFut+XEPB/ZsPp+BYcsGFBLYyB+XfHye MrbOwvBoYNVI+GjiwUP50I5CCQNr5Ks75kmt9hSrOdGZWL2iMZI3m/rTYgYODCyKFcGY YxRm/pMCT3pNHZ+5qMQHT0MvX5wzo89GrkMRKFTkMCztg4LFMkN8T9pxZ+/AjbKy4kx+ f4mw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lzEB3aw2poADywt2x1/ivBObOpyJswVMUVJsNWQu6ys=; b=KfhPLZbh5FSkR72TTMlSWGpXK0P4pro8H/wFeY3jCJ01Ods9HGvKYiQOC7tHQRf5nf gUcN/oH1B7GCTvbwB6hSK5bEpprpp0RlCH9As5W1Dnw2QhuV6WM2rAwfFEmbOt2do04Q 7rbVydrjVT4RxDjNHUIPLh7Rhlaax9PwrPPz8D8zslRO4o0ndvdpR6mjANb/mmsBhnXL NhirKRxQR/rr0Cg0wpFc9ezy4xVhkZTS5we9VOX8Ba1j/uWc8cEPclC1yYbCN3IVVrpK t+RpooqLSa37+KqWpVZQqdicNZdJSapYnhARw7Hz97RfdMx8jqImDdXMfcq1/VkqRZ6e ssUA==
X-Gm-Message-State: AKaTC01eBp2hIUEpEYh8sG5Px3z/MhfZfxppV59qUEh/fcJllkBdu3C4yh/QI768jmUIJMeFVCs2WmvcsD2FOwlk
X-Received: by 10.157.37.195 with SMTP id q61mr12280587ota.195.1479793092624; Mon, 21 Nov 2016 21:38:12 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.42.43 with HTTP; Mon, 21 Nov 2016 21:38:11 -0800 (PST)
In-Reply-To: <alpine.DEB.2.11.1611151159170.5327@grey.csi.cam.ac.uk>
References: <1478539079.1706686.780110457.75B1F9CF@webmail.messagingengine.com> <a786d82d-7134-c7bc-24ef-5dfb56e7bbac@isode.com> <56DA516EAC53C07E3F453BA6@JcK-HP8200> <58220833.4000806@gmail.com> <01Q73SYPHLDI011H9Q@mauve.mrochek.com> <5F4EE3F805C40EF25D1E0E57@JcK-HP8200> <01Q7B16YQ1IO011H9Q@mauve.mrochek.com> <582A5594.5080008@gmail.com> <alpine.DEB.2.11.1611151159170.5327@grey.csi.cam.ac.uk>
From: Brandon Long <blong@google.com>
Date: Mon, 21 Nov 2016 21:38:11 -0800
Message-ID: <CABa8R6s0U_u5j74ursD5O9NFkRpkZw8EKNxOxL57-w7aFbFnOA@mail.gmail.com>
To: Tony Finch <dot@dotat.at>
Content-Type: multipart/alternative; boundary="001a113dc4caa0d1fc0541dd2d74"
Archived-At: <https://mailarchive.ietf.org/arch/msg/imapext/xr7VHvYcf5QM0KdSR6vgVtNZEyI>
Cc: ietf-smtp <ietf-smtp@ietf.org>, "imapext@ietf.org" <imapext@ietf.org>
Subject: Re: [imapext] offline mode, was Re: [ietf-smtp] Fwd: Request to form a new WG: JMAP
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Nov 2016 05:38:16 -0000

I've said this to some client developers directly, but it's good to share
the concept more widely:

There should be no "full mirror" clients, only disconnected state clients
which make different choices of window size.  There are Gmail accounts
today which would exceed the ssd in many laptops, or the monthly bandwidth
allotment of some broadband customers.  A full sync is useful for backups,
but a regular client would be wise to make full sync a special case of
"reasonable cache space on this device/connection happens to be larger than
the user's account".

Granted, I would also argue against connected clients in general, since the
next billion users typically have poor/expensive connections, and many
users are on mobile networks where the quality can vary greatly from block
to block.  Network usage is also more likely to be a WAN these days, with
the higher latency that implies.  Also, storage size is mostly to the point
where a local cache can be fairly large compared to most content... OTOH,
shared computers may make local sync or install less desirable, but I think
most of those cases tend to web clients these days.

Brandon

On Tue, Nov 15, 2016 at 4:10 AM, Tony Finch <dot@dotat.at> wrote:

> Is everyone here using the term "offline mode" to mean the same thing?
>
> RFC 1733 defines "offline mode" to mean POP3-style delete-from-server.
> "Disconnected mode" is the term for a client that has a local cache
> or mirror of what is on the server.
>
> Approxomately no-one wants RFC 1733 offline mode. (Bah, the number of
> times I have had to recover mail for someone who accidentally pointed an
> offline-mode client at their account.)
>
> How much do the necessary protocol features differ between a full-fat
> disconnected mode client (a mirror on the client of the entire
> account on the server) vs a poorly-connected mobile client which needs to
> sync a smaller window on the account? Concurrent access to multiple
> mailboxes? what else?
>
> Tony.
> --
> f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/  -  I xn--zr8h
> punycode
> Trafalgar: Easterly or northeasterly 5 or 6, occasionally 4 at first, but
> 6 to
> gale 8 in southeast. Moderate or rough. Fair. Good.
>
> _______________________________________________
> imapext mailing list
> imapext@ietf.org
> https://www.ietf.org/mailman/listinfo/imapext
>