# xquic | Alibaba | Knowledge Base | Instagit

XQUIC Library released by Alibaba is a cross-platform implementation of QUIC and HTTP/3 protocol.

GitHub Stars: 1.9k

Repository: https://github.com/alibaba/xquic

---

## Articles

### [How XQUIC Supports QUIC Draft-29: Implementation Details in the Alibaba Library](/alibaba/xquic/how-does-xquic-support-draft-29-of-quic-protocol)

Explore how XQUIC implements QUIC draft-29 with dedicated constants, draft-specific TLS salts, ALPN mapping, and configurable engine parameters for clients and servers.

- Tags: internals
- Published: 2026-02-24

### [Security Considerations for Deploying XQUIC: Essential Guide for Production QUIC/HTTP-3](/alibaba/xquic/security-considerations-for-deploying-xquic)

Learn essential security considerations for deploying XQUIC in production. Secure TLS 1.3, stateless reset tokens, and prevent 0-RTT replay attacks. Optimize your QUIC/HTTP-3.

- Tags: best-practices
- Published: 2026-02-24

### [How to Monitor XQUIC Performance Metrics: APIs and Implementation Guide](/alibaba/xquic/how-to-monitor-xquic-performance-metrics)

Monitor XQUIC performance with detailed C structures and public APIs. Implement transport statistics for external monitoring systems. Get your XQUIC implementation insights now.

- Tags: how-to-guide
- Published: 2026-02-24

### [Stream-Level vs Connection-Level Flow Control in XQUIC: Implementation Guide](/alibaba/xquic/difference-between-stream-level-and-connection-level-flow-control)

Master XQUIC flow control. Learn the crucial differences between stream-level and connection-level flow control implementations for better network performance. Get the guide now.

- Tags: how-to-guide
- Published: 2026-02-24

### [How XQUIC Handles TLS Session Resumption: Architecture and Implementation Guide](/alibaba/xquic/how-does-xquic-handle-tls-session-resumption)

Discover how XQUIC handles TLS 1.3 session resumption with session tickets, OpenSSL callbacks, and 0-RTT handshake enablement. Learn the architecture and implementation details.

- Tags: internals
- Published: 2026-02-24

### [Memory Requirements and Limits for XQUIC Connections: A Complete Guide](/alibaba/xquic/memory-requirements-and-limits-for-xquic-connections)

Discover XQUIC connection memory requirements and limits. Learn about default memory allocation and customize packet sizes for optimal performance. Read our complete guide.

- Tags: deep-dive
- Published: 2026-02-24

### [How to Implement a Custom Application Protocol on Top of XQUIC: A Complete Guide](/alibaba/xquic/how-to-implement-custom-application-protocol-on-xquic)

Learn how to implement a custom application protocol on top of XQUIC by registering an ALPN string and binding callback functions for events. A complete guide for developers.

- Tags: how-to-guide
- Published: 2026-02-24

### [What Is xqc_engine_register_alpn in XQUIC? ALPN Registration Explained](/alibaba/xquic/purpose-of-xqc_engine_register_alpn-in-xquic)

Learn how xqc_engine_register_alpn in XQUIC registers ALPN identifiers to enable TLS handshake protocol negotiation and route connections efficiently. Understand ALPN registration.

- Tags: deep-dive
- Published: 2026-02-24

### [How to Debug Connection Close Errors in XQUIC: A Complete Guide](/alibaba/xquic/how-to-debug-connection-close-errors-in-xquic)

Debug XQUIC connection close errors effectively. Verify return values, inspect logs for draining or closed states, check timers, and trace transport send failures. A complete guide.

- Tags: how-to-guide
- Published: 2026-02-24

### [Thread Safety Considerations When Using XQUIC: A Complete Developer's Guide](/alibaba/xquic/thread-safety-considerations-for-xquic)

Understand XQUIC thread safety. Learn essential considerations for developers to manage cross-thread data sharing and ensure robust application performance with this single-threaded library.

- Tags: deep-dive
- Published: 2026-02-24

### [XQUIC Packet Loss Detection and Recovery: A Deep Dive into RFC 9002 Implementation](/alibaba/xquic/xquic-packet-loss-detection-and-recovery)

Explore XQUIC's RFC 9002 packet loss detection and recovery. Learn how it uses send-control, timers, and PTO to ensure reliable data transmission.

- Tags: deep-dive
- Published: 2026-02-24

### [How QPACK Dynamic Table Works in XQUIC's HTTP/3 Implementation](/alibaba/xquic/qpack-dynamic-table-work-in-http3)

Discover how XQUIC's QPACK dynamic table achieves efficient HTTP/3 header compression. Learn about its synchronized FIFO buffer, 2-D hash table, and ring memory for optimized performance.

- Tags: internals
- Published: 2026-02-24

### [How XQUIC Handles Connection Migration: A Deep Dive into the Alibaba Implementation](/alibaba/xquic/how-does-xquic-handle-connection-migration)

Discover how XQUIC handles connection migration using its three-layer architecture. Learn about transport parameter negotiation, path validation, and multipath support in this Alibaba implementation.

- Tags: deep-dive
- Published: 2026-02-24

### [Understanding the Lifecycle of a QUIC Connection in XQUIC](/alibaba/xquic/lifecycle-of-a-quic-connection-in-xquic)

Explore the QUIC connection lifecycle in XQUIC, detailing seven distinct states from initialization to closure. Understand the deterministic state machine for efficient network communication.

- Tags: deep-dive
- Published: 2026-02-24

### [How to Enable and Utilize qlog for Debugging XQUIC Connections](/alibaba/xquic/how-to-enable-and-use-qlog-for-debugging-xquic)

Debug XQUIC connections with qlog. Learn how to enable the built-in qlog subsystem and use the Python parser to visualize QUIC protocol events for effective troubleshooting.

- Tags: how-to-guide
- Published: 2026-02-24

### [XQUIC Multipath QUIC Implementation: A Deep Dive into Alibaba's Path Management Architecture](/alibaba/xquic/xquic-implementation-of-multipath-quic)

Explore XQUIC's Multipath QUIC implementation. Discover how Alibaba's architecture manages multiple network paths with independent congestion control and advanced state machines for optimized traffic flow.

- Tags: deep-dive
- Published: 2026-02-24

### [How to Configure BBRv2 Congestion Control in XQUIC: Build and Runtime Guide](/alibaba/xquic/how-to-configure-bbrv2-in-xquic)

Learn how to configure BBRv2 congestion control in XQUIC. Compile with -DXQC_ENABLE_BBR2=ON and use --conn_options B2ON at runtime for optimal performance.

- Tags: how-to-guide
- Published: 2026-02-24

### [XQUIC Callback Functions: Required Server vs Client Implementation Guide](/alibaba/xquic/required-callback-functions-for-server-vs-client-mode)

Understand XQUIC callback functions for server and client modes. Learn which callbacks are mandatory for each to ensure proper connection and session management.

- Tags: how-to-guide
- Published: 2026-02-24

### [How XQUIC Handles 0-RTT Connection Resumption: Session Ticket Deep Dive](/alibaba/xquic/how-does-xquic-handle-0-rtt-connection-resumption)

Discover how XQUIC handles 0-RTT connection resumption. Learn about session ticket caching, early-data keys, and state machines for efficient client-side data transfer.

- Tags: deep-dive
- Published: 2026-02-24

### [How to Implement Custom Congestion Control in XQUIC: A Complete Developer's Guide](/alibaba/xquic/how-to-implement-custom-congestion-control-in-xquic)

Learn to implement custom congestion control in XQUIC with this developer's guide. Define callbacks, set state size, and assign to connection settings for optimized performance.

- Tags: how-to-guide
- Published: 2026-02-24

