[Lwip] Feedback request: HTTP/2 implementation for embedded devices

Felipe Lalanne <flalanne@niclabs.cl> Tue, 17 March 2020 17:34 UTC

Return-Path: <flalanne@niclabs.cl>
X-Original-To: lwip@ietfa.amsl.com
Delivered-To: lwip@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B8003A0934 for <lwip@ietfa.amsl.com>; Tue, 17 Mar 2020 10:34:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=niclabs-cl.20150623.gappssmtp.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 Zxd2SfnD7PGQ for <lwip@ietfa.amsl.com>; Tue, 17 Mar 2020 10:33:58 -0700 (PDT)
Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (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 BA1A53A0931 for <lwip@ietf.org>; Tue, 17 Mar 2020 10:33:58 -0700 (PDT)
Received: by mail-qk1-x72e.google.com with SMTP id q17so9268561qki.0 for <lwip@ietf.org>; Tue, 17 Mar 2020 10:33:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niclabs-cl.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=I594eLNezZXx3hr9mW3o2rGjLMM0Apb8oMA3A3zlUJQ=; b=xChIeBDaNExgpEv282YJfgqaMeftXqqR5kR8bdoA/XrWaBkGolWgsxPnycUEdYaa+V mpMNU+C6Shgae/iXwXZ3cgNU5DsaGrEr4H9yEN0OH23pctVb4g6nbzI4RExdlNevx3sm M3ZkmgzWOzCigIP+QJDM5ZTGaXcg/+1InhouJojeGawMq6Q1/RaaQiEg8TlY4I6xH3zm tJzNX4NIu56mN5JkTHq1Ei+xBuCzVXVlv258wIXYkqgbJMRWQkk+ABQd/AyXXugj0o+a KXb50J0N/yVevRFMkLMC6+A707qThRFi3wEvu1OzHzhCM6lAEI8ZUlvolDYohgua5Rsl 20ag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=I594eLNezZXx3hr9mW3o2rGjLMM0Apb8oMA3A3zlUJQ=; b=pYBNJeey9V/yNV9uyLUo1rVUgMgxzDRnSzqdn+rxPFUJr4U05xpyV9EQoiCx924dTq 4G4AFgf5TikQJgIdgDoDdgJb9QxJqpvlvqXmhZh7b0fC+vtgmfOYy59rHp7stzYGjofb mvAo8yaEAqHSRyQsPPXFQTsdXohgjpq8QwNEs7ri7AXg3uv1WaVYILSeBrnUcz305wMT tFSooEb2Bfnc/QU2NGMYBK9PwCj1PfIHFXe+KH0IsCiHSTiiRVCEaoGyRk8uobEE0Shs GMi5z+RDQKuR219Nwpp4BTZdNeWSXiyvPAvggzO9KfXdW1fnqNL9vmZylNhjYAekWM9j PgjQ==
X-Gm-Message-State: ANhLgQ3nsUevFLVWH8NnrS7ETvjLJa2/GS2knupvAlWDrIr14qIMk4fX 9Yuf+1Yez/B1ItpXxyXnqHz/rxF2nt6E4FUT/MlSJJL6tFs=
X-Google-Smtp-Source: ADFU+vukYPQUm9VG+FswHYnKTvu8TbwWVdxAGnID/anWhSaGojXbrd4/9vU7tZ+Quszm/g/lD+PLB/W9OUMJLYRB1eY=
X-Received: by 2002:a25:a108:: with SMTP id z8mr9537035ybh.418.1584466437079; Tue, 17 Mar 2020 10:33:57 -0700 (PDT)
MIME-Version: 1.0
From: Felipe Lalanne <flalanne@niclabs.cl>
Date: Tue, 17 Mar 2020 14:33:46 -0300
Message-ID: <CABymbrOU_rpYRRpBoMZYX8ryJQ4anw4O_-KgyPDOpqwdd18gKA@mail.gmail.com>
To: lwip@ietf.org
Content-Type: multipart/alternative; boundary="00000000000024132105a110578b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lwip/EJGOv_8-pfFn4zt9zHK32Won5es>
Subject: [Lwip] Feedback request: HTTP/2 implementation for embedded devices
X-BeenThere: lwip@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Lightweight IP stack. Official mailing list for IETF LWIG Working Group." <lwip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lwip>, <mailto:lwip-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lwip/>
List-Post: <mailto:lwip@ietf.org>
List-Help: <mailto:lwip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lwip>, <mailto:lwip-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Mar 2020 17:34:02 -0000

Hello everyone,

Within NIC Chile Research Labs, we’ve been interested for a while in the
topic of HTTP/2 for Internet of Things (see
https://www.ietf.org/archive/id/draft-montenegro-httpbis-h2ot-profile-00.txt
).

Although IoT specific application protocols (e.g. CoAP) present an
advantage in terms of power and data usage against HTTP, many of those
limitations are mitigated by HTTP/2 and 3, which, when paired with the
ubiquitous nature of HTTP, we believe may make this protocol a good
candidate for some IoT use cases, particularly when interoperability is a
priority.

On this note, we have recently released a first version of an HTTP/2 server
for embedded devices, which you can find in the URL below. Including the OS
overhead and our implementation, the server runs with 16K of static RAM,
and requires 1.5K of static RAM for additional devices. You can find more
documentation on the link below.

https://github.com/niclabs/two

We would love those interested, to try the implementation and give us
feedback on possible use cases, optimization ideas, or anything at all. We
have included instructions to run the implementation on the IoT-Lab testbed
<https://www.iot-lab.info/>  for those that would like to test but do not
have the hardware.


I thank you in advance for any feedback you can provide

Best regards
Felipe Lalanne