partially unreliable quic streams

Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com> Tue, 19 September 2017 07:22 UTC

Return-Path: <mikkelfj@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E13A133023 for <quic@ietfa.amsl.com>; Tue, 19 Sep 2017 00:22:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.697
X-Spam-Level:
X-Spam-Status: No, score=-2.697 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, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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=gmail.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 QcCABtjBczSx for <quic@ietfa.amsl.com>; Tue, 19 Sep 2017 00:22:00 -0700 (PDT)
Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 93DA6126DFE for <quic@ietf.org>; Tue, 19 Sep 2017 00:22:00 -0700 (PDT)
Received: by mail-io0-x22d.google.com with SMTP id m103so7798909iod.13 for <quic@ietf.org>; Tue, 19 Sep 2017 00:22:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:date:message-id:subject:to; bh=jAvoFKt07S03tDLc5Bv6enSQ1CpSMHVLoSgkbrXzMa8=; b=WHgMx3ncebW/EZvvfl6MksCA3FlcR7L+8mmCRHqQDVgfv9M0qjzabt0i0/nuuXham+ U6ZifLNEWh0vFpR2554cCwAyIVE7FyZuWxwXOSQQLkNPLAd0L0/ruHL9LO7gGIH6egoS wuR1v08fVE8wxFh300dfx+/PDgJTtXz6Kk/3qE8TW1Lhi/64FfBxMGxyNZri1QsXL0hP BPrJGFBuN98o380I/8bWfVrb4JDKvBhO6xUJ/KumvcD7ocymWYUjhNJHe2Kjl2vAGyCD rvSYioiW3qUhBK9tyQ3O7jf45iY8iV5jY1UUKes/U4+wOv36Sc0E+TVV3WKMlEeq3rxD rT3g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=jAvoFKt07S03tDLc5Bv6enSQ1CpSMHVLoSgkbrXzMa8=; b=oqkoHAp9YuqYIfJktIxTVgVd90kz7TUvqsO5weR8M3FAhSwEOlFejmwiiREfUYIqUY MMHaQ6MEormnUL2ZvmJalWVPhsTz6xgOxiTiUTzBb8ATwnmzUynoJUm3uAOvN7DNN1oH KTBuY4ikamssgnbQ/Vqq+h+YexCIsImaTPB9lQOoT69F9DcvIrTD3dFgPII+7OHjaL0P gG8f4CNJkeJ8lGh7dQ93aycl47BXAnA2VGCAHF9FJZEF9YPpDFMd72rhn50NMFpINwtz l70gA9epYgfbMEjdkklZM1H97LiUIbQ3bBhQwuLPxv6444ng4KGaEsbMXPLnwe/m3prc VsXw==
X-Gm-Message-State: AHPjjUjjCN15T3o1BSuGh2Kf2XcKDaYfzobOjNhKByMlkQAykcKhbfBd NWdUjgaxzAq7wxkVyKclHSe6lf3qKBTURKk92fo=
X-Google-Smtp-Source: AOwi7QDmuG3eZxo411iqXvOagnk/b1i6bKDjdO/Dl/ylbPhLw81bzEmUcUIDF1dJO81L+d5CZTQ9HNQnBXzxruvmAhk=
X-Received: by 10.107.186.6 with SMTP id k6mr659687iof.183.1505805719936; Tue, 19 Sep 2017 00:21:59 -0700 (PDT)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Tue, 19 Sep 2017 00:21:58 -0700
From: Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>
X-Mailer: Airmail (420)
MIME-Version: 1.0
Date: Tue, 19 Sep 2017 00:21:58 -0700
Message-ID: <CAN1APddnAmjc2LuMReCHXMSABD1_6nHkn47_BD1KcmD8Z4ENUw@mail.gmail.com>
Subject: partially unreliable quic streams
To: anja@inet.tu-berlin.de, ott@in.tum.de, quic@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c076a6209a8f0055985b7b5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/WMMofhkcn8MfZIikePHtrJS04eM>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Sep 2017 07:22:02 -0000

Hi Anja und Jörg


Regarding
https://tools.ietf.org/html/draft-tiesel-quic-unreliable-streams-00

I’m not sure where this draft fits into to the QUIC design process process
since my understanding is that unreliable streams is for a later charter in
the design process.

A quick read through the draft makes me wonder if you considering some
partial reliable ideas that have emerged out of the currently unfinished
concept of unidirectional streams and if you can incorporate these ideas
into your draft?

Essentially the idea is each stream is sequence of messages which are
reliable but suffer head of line blocking when each message is separated by
an application specific message header. In the simplest form the stream is
just one message.

For unreliable streams, the concept is inverted: each stream is a single
message which starts an application specific unreliable stream identifier
embedded in the stream/message. The ordering of messages is given by the
QUIC level stream id which always increases (effectively a message id in
this context) but there is no head of line blocking nor any delivery
ordering because each message is independent.

Thus the space consumed is the same for the two concepts but the
interpretation is different.

An implementation can further cooperate by not retransmitting sufficiently
old or otherwise outdate messages. Currently QUIC has no way to explicitly
configure this and dropping retransmission of frames might affect
congestion control. Therefore in its current form QUIC cannot properly
unreliable streams, only prevent head of line blocking.

It is worth noting that with once message per stream there can be many
messages per packet which can significantly increase the messages per
second rate and therefore also requires efficiently management of stream
state - such as discarding send state immediately after sending FIN (except
retransmission machinery).


Kind Regards,
Mikkel Fahnøe Jørgensen