Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Async QUIC and HTTP/3 made easy: tokio-quiche is now open-source

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Mendes, Leo Blöcher, Evan Rittenhouse, and Fisher Darling
Word Count
1,152
Language
English
Hacker News Points
-
Summary

Cloudflare has announced the open sourcing of tokio-quiche, an asynchronous QUIC library that combines the quiche QUIC implementation with the Rust-based Tokio async runtime. Previously used internally for systems like Cloudflare's Proxy B in Apple iCloud Private Relay and the Cloudflare Warp MASQUE client, tokio-quiche is designed to handle millions of HTTP/3 requests per second with low latency and high throughput. This library builds on the sans-io design of quiche, which allows for flexible integration into a variety of applications by implementing the QUIC transport protocol without presuming specific I/O operations. By integrating tokio-quiche with the popular Tokio runtime, Cloudflare aims to lower the barrier for integrating QUIC and HTTP/3 into new projects, promoting wider adoption of these technologies. The library includes components like the H3Driver, which facilitates the creation of asynchronous HTTP/3 clients and servers, and uses an actor model to manage tasks and messages efficiently. This open-source release is part of Cloudflare's broader effort to advance the QUIC and HTTP/3 ecosystem, with future plans for additional tools and resources to support developers.