quinn VS base-drafts

Compare quinn vs base-drafts and see what are their differences.

quinn

Async-friendly QUIC implementation in Rust (by quinn-rs)

base-drafts

Internet-Drafts that make up the base QUIC specification (by quicwg)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
quinn base-drafts
23 9
3,449 1,609
2.7% 0.6%
9.0 0.6
6 days ago 4 days ago
Rust Shell
Apache License 2.0 -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

quinn

Posts with mentions or reviews of quinn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-05.
  • Why HTTP/3 is eating the world
    9 projects | news.ycombinator.com | 5 Oct 2023
    Since it lives on top of UDP, I believe all you need is SOCK_DGRAM, right? The rest of QUIC can be in a userspace library ergonomically designed for your programming language e.g. https://github.com/quinn-rs/quinn - and can interoperate with others who have made different choices.

    Alternately, if you need even higher performance, DPDK gives the abstractions you'd need; see e.g. https://dl.acm.org/doi/abs/10.1145/3565477.3569154 on performance characteristics.

  • Async rust – are we doing it all wrong?
    9 projects | news.ycombinator.com | 19 Jul 2023
    > Making things thread safe for runtime-agnostic utilities like WebSocket is yet another price we pay for making everything multi-threaded by default. The standard way of doing what I'm doing in my code above would be to spawn one of the loops on a separate background task, which could land on a separate thread, meaning we must do all that synchronization to manage reading and writing to a socket from different threads for no good reason.

    Why so? Libraries like quinn[1] define "no IO" crate to define runtime-agnostic protocol implementation. In this way we won't suffer by forcing ourselves using synchronization primitives.

    Also, IMO it's relatively easy to use Send-bounded future in non-Send(i.o.w. single-threaded) runtime environment, but it's almost impossible to do opposite. Ecosystem users can freely use single threaded async runtime, but ecosystem providers should not. If you want every users to only use single threaded runtime, it's a major loss for the Rust ecosystem.

    Typechecked Send/Sync bounds are one of the holy grails that Rust provides. Albeit it's overkill to use multithreaded async runtimes for most users, we should not abandon them because it opens an opportunity for high-end users who might seek Rust for their high-performance backends.

    [1]: https://github.com/quinn-rs/quinn

  • quicssh-rs Rust implementation SSH over Quic proxy tool
    3 projects | /r/rust | 30 Apr 2023
    quicssh-rs is quicssh rust implementation. It is based on quinn and tokio
  • The birth of a package manager [written in Rust :)]
    2 projects | /r/rust | 17 Mar 2023
    Regarding Quinn, I had a blast this week resurrecting an old PR. Looking forward to the next!
  • Best performing quic implementation?
    4 projects | /r/rust | 5 Mar 2023
  • str0m a sans I/O WebRTC library
    3 projects | /r/rust | 18 Dec 2022
    By studying u/djcu/hachyderm.io (and others!) excellent work in Quinn, doing a sans I/O implementation of QUIC https://github.com/quinn-rs/quinn we have a way forward.
  • durian - a high-level general purpose client/server networking library
    3 projects | /r/rust_gamedev | 7 Dec 2022
    QUIC isn't web/wasm-compatible because of https://github.com/quinn-rs/quinn/issues/1388, so durian wouldn't either since it's built on top of it.
  • FPS server with QUINN?
    3 projects | /r/rust | 29 Oct 2022
    Quinn, as in the implementation of QUIC? https://github.com/quinn-rs/quinn
  • I built a Zoom clone 100% IN RUST
    12 projects | /r/rust | 24 Oct 2022
    You are right, I am planning to switch the transport to UDP + quic using the awesome QUINN library, https://github.com/quinn-rs/quinn .
  • I write a secure UDP tunnel
    2 projects | /r/rust | 1 Oct 2022
    Hi, I am new to the community, I just started learning rust and created a secure UDP tunnel based on the Quinn library, thanks to Quinn, I didn't need to go into the detail of the QUIC protocol and quickly created a UDP tunnel, and thanks to the BBR congestion control algorithm it uses, the tunnel performs quite well with lousy and long fat network, I didn't do any benchmark, but it performs a lot better (higher throughput with LFN) than most of other TCP tunnel implementations I used before.

base-drafts

Posts with mentions or reviews of base-drafts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.
  • Multipath TCP for Linux
    6 projects | news.ycombinator.com | 19 Apr 2024
    QUIC is a step backwards here; it has no multipath support: https://lwn.net/Articles/964377/

    Multipath: There are several areas where TCP still has an advantage over QUIC. One of those is multipath support. Multipath TCP connections can send data on different network paths simultaneously — for example, sending via both WiFi and cellular data — to provide better throughput than either path permits individually.

    Server connection migration is explicitly forbidden by QUIC:

    https://github.com/quicwg/base-drafts/pull/2031

  • What does TCP/IP, OSI model even in means in job requirements
    1 project | /r/cybersecurity | 9 Dec 2022
  • RFC 9114 – HTTP/3
    1 project | news.ycombinator.com | 6 Jun 2022
    https://github.com/quicwg/base-drafts/issues/253

    TL;DR just like HTTP/2, we wanted to avoid friction in deploying these protocols. Having to rewrite URLs because of new schemes is pretty unpalatable, it has major impact. Instead, HTTP/3 can rely on other IETF-defined mechanisms like Alt-Svc (RFC 7838) and the more recent SVCB / HTTPS RR [1] DNS-based methods. The latter has been deployed on Cloudflare a while [2] and supported in Firefox. Other user agents have also expressed interest or intent to support it.

    The net outcome is that developers can by and large focus on HTTP semantics, and let something a little further down the stack worry more about versions. Sometime devs will need to peek into that area, but not the majority.

    [1] - https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-svcb-...

  • Announcing s2n-quic 1.0
    9 projects | /r/rust | 17 Feb 2022
    After lots of hard work, we're excited to open-source [s2n-quic](https://github.com/aws/s2n-quic), a Rust implementation of the [IETF QUIC protocol](https://quicwg.org/). Feel free to ask any questions here in the comments or by [opening an issue](https://github.com/aws/s2n-quic/issues/new/choose). Thanks!
  • The IETF QUIC Working Group
    1 project | news.ycombinator.com | 24 Nov 2021
  • Crate to build network packets over UDP
    5 projects | /r/rust | 9 Jul 2021
    Maybe check out laminar and quinn, which implement custom protocols on top of UDP (quinn implements QUIC), to get an idea on how to do things.
  • QUIC is now RFC 9000
    15 projects | news.ycombinator.com | 27 May 2021
    IETF work is conducted mostly on email lists, hence the "many thousands of emails".

    For some newer work like QUIC, GitHub is used to maintain a more to-the-minute shared view of the documents, and then again as mentioned in the text you quoted, GitHub Issues and PRs are used to manage the document, particularly by the most active participants.

    https://github.com/quicwg/base-drafts - of course raising issues or PRs for them now won't do anything useful for you, because these RFCs were published. But you can see there were thousands of commits, one of the last being Martin Thompson's minor typographical tweaks summarised as "DOES IT NEVER END?!?".

  • QUIC and HTTP/3 Support Now in Firefox Nightly and Beta
    12 projects | news.ycombinator.com | 16 Apr 2021

What are some alternatives?

When comparing quinn and base-drafts you can also consider the following projects:

quiche - 🥧 Savoury implementation of the QUIC transport protocol and HTTP/3

s2n-quic - An implementation of the IETF QUIC protocol

shadowsocks-rust - A Rust port of shadowsocks

h3

aiortc - WebRTC and ORTC implementation for Python using asyncio

msquic - Cross-platform, C implementation of the IETF QUIC protocol, exposed to C, C++, C# and Rust.

quicly - A modular QUIC stack designed primarily for H2O

laminar - A simple semi-reliable UDP protocol for multiplayer games

neqo - Neqo, an implementation of QUIC in Rust

message-io - Fast and easy-to-use event-driven network library.