Re: [Jmap] Draft messages - mutability
Neil Jenkins <neilj@fastmail.com> Tue, 25 April 2017 02:18 UTC
Return-Path: <neilj@fastmail.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 88066131991 for <jmap@ietfa.amsl.com>; Mon, 24 Apr 2017 19:18:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.719
X-Spam-Level:
X-Spam-Status: No, score=-2.719 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmail.com header.b=He3x3RXl; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=jJVolFBj
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 KkBYSTrRMgTn for <jmap@ietfa.amsl.com>; Mon, 24 Apr 2017 19:18:26 -0700 (PDT)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C545C12785F for <jmap@ietf.org>; Mon, 24 Apr 2017 19:18:25 -0700 (PDT)
Received: from betaweb1.internal (betaweb1.nyi.internal [10.202.2.10]) by mailout.nyi.internal (Postfix) with ESMTP id 3AEA220C85; Mon, 24 Apr 2017 22:18:25 -0400 (EDT)
Received: from betaweb1 ([::ffff:10.202.2.10]) by betaweb1.internal (MEProxy); Mon, 24 Apr 2017 22:18:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=msGldNA3cD0UD/zizg4MSy5/GpWUD d4948c8kIJ9QZM=; b=He3x3RXlO+0UjCB5EIbTKPow0TsGPhxo/eAnI4dJtb7BZ NCCUCnQew36VOntUnPmUe1P3lFCW6Gpv4+QvUNP47WKXr0BjqDF2uzNAoaNbL8b0 cdnXhpIG7AORl2PrmT3oiaPZZ9vzfjipCQbgmdruUvImk4ATpnqL7TemB+k2XUFV faDASz+ecr4JkhHWsv055pMtBPqz6nGJZl9NvAXGAY3Zg4FGsBYeFIrIddaZr2PU ffDCW12NwgvzOTh+G43N53KWumYUXc2GCnHEN8D2tj4ZSx9834kvbsLgtkzmeI17 7tw2CsnBq0lEfxe1PhzxHZmogo7wAt1iwRk8n6DZw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=msGldN A3cD0UD/zizg4MSy5/GpWUDd4948c8kIJ9QZM=; b=jJVolFBj5aF4xKxxCarj3b snms/9MBcEO9SpWlgY7v4XxGmOPlpk58mqCxygmokQ0IJqHEDIxP2pFm9egqp9Ab xsvSdyHehrI8Wmq2fFXFvmU1tRsdJJgJfxuvMvBnk8pz2xk1DBgR7ZyT1g/vyL+H q5Xl38T1AB9+8MMRV22m5a+mdVkR5+nDkYLiDwVwexbu2DdYf3oI/Gtq01R/86kR 4Qvv7L3ovjqyiMkIfzktjzIfAM+K04Vmvyo9IwSZLJdeGbS8jXkfpn4MSnnLTxrJ XUlzuuA/PI/yANyTfWEWHBCyAy1viY8T1jTTDLA+SL0WmUNtKVfGHwaHDW0/tcCA ==
X-ME-Sender: <xms:8bH-WAOkrXMFAlAmnGczArhqyduJU6r_g4UL8nH9tZxnhcFBYyjXAQ>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id EC0BBE23C7; Mon, 24 Apr 2017 22:18:24 -0400 (EDT)
Message-Id: <1493086704.2870249.955076016.66A059E7@webmail.messagingengine.com>
From: Neil Jenkins <neilj@fastmail.com>
To: Ted Lemon <mellon@fugue.com>
Cc: jmap@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_149308670428702491"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-71880675
Date: Tue, 25 Apr 2017 12:18:24 +1000
In-Reply-To: <CAPt1N1m47nEY6TJr6Vx_oR1ZvYbjgkTSsyJ3URoX5+5m4Nt-rg@mail.gmail.com>
References: <1492998899.3316920.953769616.254C9CBD@webmail.messagingengine.com> <EDDD6045-ECAD-4EAB-AC11-842A9CB2E1CA@oracle.com> <1493084134.2830550.955039432.5403CAFB@webmail.messagingengine.com> <CAPt1N1m47nEY6TJr6Vx_oR1ZvYbjgkTSsyJ3URoX5+5m4Nt-rg@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/r4IzY5baJ_qSbVD38Cgfpbqt3X8>
Subject: Re: [Jmap] Draft messages - mutability
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Apr 2017 02:18:29 -0000
On Tue, 25 Apr 2017, at 12:00 PM, Ted Lemon wrote: > If drafts are mutable, the implication is that synchronization based > on message ID can't happen without something like a version modifier. > At which point why not make every message versioned? I'm not sure I fully understand your question; every message is already versioned (like the IMAP CONDSTORE modseq) so that you can efficiently synchronise changes. There is a well-defined model of data synchronisation which is used across all data types in JMAP. A client can request the list of ids of a type (let's say Messages) which have changed since the client's current state. It can then decide which of those messages it wants to fetch, and what information it needs to fetch for each one. In the case of non-drafts, it only needs to fetch flags/mailboxes. If drafts are mutable, then for any draft message it has it would need to redownload the entire message. This is the trade-off I was talking about in my previous post. Neil.
- [Jmap] Draft messages - mutability Bron Gondwana
- Re: [Jmap] Draft messages - mutability Neil Jenkins
- Re: [Jmap] Draft messages - mutability Ted Lemon
- Re: [Jmap] Draft messages - mutability Neil Jenkins
- Re: [Jmap] Draft messages - mutability Neil Jenkins
- Re: [Jmap] Draft messages - mutability Chris Newman
- Re: [Jmap] Draft messages - mutability Ted Lemon
- Re: [Jmap] Draft messages - mutability Chris Newman
- Re: [Jmap] Draft messages - mutability Chris Newman
- Re: [Jmap] Draft messages - mutability Bron Gondwana
- Re: [Jmap] Draft messages - mutability Stu Brandt
- Re: [Jmap] Draft messages - mutability Neil Jenkins
- Re: [Jmap] Draft messages - mutability Ted Lemon
- Re: [Jmap] Draft messages - mutability Neil Jenkins
- Re: [Jmap] Draft messages - mutability Brandon Long
- Re: [Jmap] Draft messages - mutability Neil Jenkins