Re: [ietf-smtp] CHUNKING and PIPELINING

Tony Finch <dot@dotat.at> Sat, 13 March 2021 00:30 UTC

Return-Path: <fanf2@hermes.cam.ac.uk>
X-Original-To: ietf-smtp@ietfa.amsl.com
Delivered-To: ietf-smtp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E2013A0D00 for <ietf-smtp@ietfa.amsl.com>; Fri, 12 Mar 2021 16:30:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.67
X-Spam-Level:
X-Spam-Status: No, score=-1.67 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 xpfMTgdfUscZ for <ietf-smtp@ietfa.amsl.com>; Fri, 12 Mar 2021 16:30:24 -0800 (PST)
Received: from ppsw-43.csi.cam.ac.uk (ppsw-43.csi.cam.ac.uk [131.111.8.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B06243A0CFF for <ietf-smtp@ietf.org>; Fri, 12 Mar 2021 16:30:24 -0800 (PST)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from [90.251.241.66] (port=62711 helo=milebook.lan) by ppsw-43.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:25) with esmtpsa (PLAIN:fanf2) (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1lKsAf-0000an-pC (Exim 4.94) for ietf-smtp@ietf.org (return-path <fanf2@hermes.cam.ac.uk>); Sat, 13 Mar 2021 00:30:21 +0000
Date: Sat, 13 Mar 2021 00:30:21 +0000
From: Tony Finch <dot@dotat.at>
To: ietf-smtp@ietf.org
In-Reply-To: <D5F7B8F4-5CA6-4C56-96CB-7AEE1DE550F6@dukhovni.org>
Message-ID: <9ccad017-a8f-a9e5-a98-5544179c4dd@dotat.at>
References: <b1202e49-26b2-35d8-0db7-bb94acd0d52f@wizmail.org> <01RWCSPP4820005PTU@mauve.mrochek.com> <1AFA5DBF-325F-4943-BBE3-45311CC485CA@dukhovni.org> <01RWEGEP5NI8005PTU@mauve.mrochek.com> <290B287C-B5BB-442D-8B30-9EF42C34E33F@dukhovni.org> <04ead364-65c1-436f-a9bb-c92d009db1c1@digilicious.com> <E3A58FCB-7116-4EAC-8831-32CE426AADBC@dukhovni.org> <17c511fc-3819-fe41-272d-63d70c9a3b6b@wizmail.org> <D5F7B8F4-5CA6-4C56-96CB-7AEE1DE550F6@dukhovni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/OdiQ_zhGBEEAp53wzbLiE382LF0>
Subject: Re: [ietf-smtp] CHUNKING and PIPELINING
X-BeenThere: ietf-smtp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of issues related to Simple Mail Transfer Protocol \(SMTP\) \[RFC 821, RFC 2821, RFC 5321\]" <ietf-smtp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-smtp/>
List-Post: <mailto:ietf-smtp@ietf.org>
List-Help: <mailto:ietf-smtp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Mar 2021 00:30:27 -0000

Viktor Dukhovni <ietf-dane@dukhovni.org> wrote:
>
> So indeed you can pipeling the entire MAIL transaction from "MAIL"
> to "QUIT" (if the number of BDAT segments is small enough).
>
> What's worse (or better depending on your perspective) is that
> you can even pipeline MULTIPLE mail transactions, nothing there
> to stop the next "MAIL" command being sent right after "BDAT LAST".
>
> At some point a 3030bis clarifying these issues would be welcome
> IMHO.

This reminds me of 2007 when I was writing various speculative drafts
http://fanf2.user.srcf.net/hermes/doc/qsmtp/ about reducing SMTP
submission latency, and the question of freely pipelining multiple
transactions came up back then. I don't think there was enough BDAT in the
wild for it to be a pressing concern, so the ideas never went anywhere.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  https://dotat.at/
South German Bight, Humber: Southwesterly veering westerly 6 to gale 8,
increasing severe gale 9 for a time. Moderate or rough, occasionally very
rough later. Squally showers. Good, occasionally poor.