Backend Development 7 min read

TQUIC: High‑Performance, Lightweight Cross‑Platform QUIC Library Open‑Sourced by Tencent

Tencent has open‑sourced TQUIC, a Rust‑based, high‑performance, lightweight cross‑platform QUIC library that supports multiple congestion‑control algorithms, multi‑path networking, and memory‑safe operation, delivering 2‑30% faster transmission and up to 20% higher processing speed while improving latency‑sensitive services such as video, gaming, advertising, and e‑commerce.

Tencent Cloud Developer
Tencent Cloud Developer
Tencent Cloud Developer
TQUIC: High‑Performance, Lightweight Cross‑Platform QUIC Library Open‑Sourced by Tencent

Recently, the Tencent Application Framework team officially open‑sourced TQUIC, a high‑performance, lightweight, cross‑platform QUIC library written in Rust. TQUIC has already been widely applied in core scenarios of multiple Tencent services, and the team invites the community to co‑build the next‑generation Internet transport protocol together.

The library aims to provide a stable, fast, high‑performance transport protocol with broad technical influence. It supports a rich set of congestion‑control algorithms, including BBRv3, BBRv1, COPA, and CUBIC, delivering fast transmission, high performance, and high quality. TQUIC also offers multi‑path support to ensure smooth experience in weak‑network and cross‑network scenarios. Being implemented in Rust, it guarantees memory safety while achieving excellent single‑machine forwarding performance.

Key advantages include:

Fast transmission: up to 2%‑30% better performance in weak‑network conditions compared to other implementations.

High performance: up to 20% higher single‑machine processing speed in many test cases.

High quality: covers more than 10 core RFCs, >95% unit‑test coverage, 100% interoperability with the four major QUIC implementations, and uses formal‑specification‑based testing.

Ease of use: flexible configuration, rich observability, Rust/C/C++ bindings, with plans for Kotlin/Swift interfaces.

Memory safety: Rust eliminates buffer‑overflow and other memory‑related vulnerabilities.

Scenario value demonstrated by TQUIC includes:

Advertising bidding: programmatic ads see a 30‑percentage‑point increase in real‑time bidding success.

Live and on‑demand video: over 20% reduction in startup time and stall rate, improving key engagement metrics.

Meetings and instant messaging: smoother transitions in weak‑network environments such as mobile or elevator scenarios.

E‑commerce: image loading speed improves by more than 20%.

Gaming: noticeable reduction in response latency and longer gameplay sessions.

Background: QUIC is a secure, reliable, and fast general‑purpose transport protocol that offers structural advantages over TCP, such as 0‑RTT handshake, connection migration, multiplexing, and superior loss detection and congestion control. With QUIC selected as the transport layer for HTTP/3, its importance is expected to dominate Internet transport for decades.

Project architecture focuses on cross‑platform compatibility and multi‑concurrency model support. The core abstracts network I/O and event loops, avoiding direct socket dependencies and allowing users to provide callbacks for event handling. TQUIC offers high‑level language bindings for major platforms, supporting both synchronous and asynchronous semantics.

For more information, visit the project website https://tquic.net/zh/docs/intro , the GitHub repository https://github.com/Tencent/tquic , and the main site https://tquic.net .

cross‑platformRustOpen-sourcehigh performanceQUICnetwork protocol
Tencent Cloud Developer
Written by

Tencent Cloud Developer

Official Tencent Cloud community account that brings together developers, shares practical tech insights, and fosters an influential tech exchange community.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.