All Products
Search
Document Center

ApsaraVideo VOD:Configure the QUIC protocol

Last Updated:Jul 08, 2024

The Quick UDP Internet Connections (QUIC) protocol provides the same level of security as TLS or SSL but supports lower connection and transmission latency. If you want to improve content delivery efficiency and ensure data transmission security, enable QUIC.

What is QUIC?

QUIC is an experimental transport layer network protocol that provides the same security capabilities as TLS/SSL and reduces connection and transmission latency. QUIC is developed based on UDP and has an excellent performance when network connections are weak. When packet loss and network latency issues are severe, QUIC can still ensure service availability. QUIC can implement different congestion control algorithms for applications, regardless of the operating system or kernel that is used. Compared with Transmission Control Protocol (TCP), QUIC supports flexible changes based on business requirements. QUIC is a suitable alternative when TCP optimization encounters bottlenecks.

ApsaraVideo VOD supports QUIC that is implemented at Layer 7.

QUIC types

ApsaraVideo VOD supports IETF QUIC and Google QUIC (gQUIC). Supported versions of gQUIC are Q39, Q43, and Q46.

  • IETF QUIC is a standard Internet protocol.

  • IETF QUIC is compatible with gQUIC versions G39, Q43, and Q46. We recommend that you use IETF QUIC.

Client requirements

QUIC has the following requirements for clients:

  • If you use Google Chrome, you can send QUIC requests to Alibaba Cloud CDN since Alibaba Cloud CDN supports HTTP/3.

  • If you use a self-developed app, the app must be integrated with a network protocol library that supports QUIC, such as lsquic-client, Cronet, ngtcp2, or quiche.

How it works

原理图

Billing rules

QUIC is a value-added service. You are charged based on the number of QUIC requests. For more information, submit a ticket.

Important
  • ApsaraVideo VOD identifies QUIC requests based on whether they are transmitted over UDP.

  • QUIC requests whose header specifies QUIC: ApsaraVideo VOD identifies whether the request is a QUIC request. If so, you are charged for a QUIC request. If not, you are charged for an HTTPS request.

Limits

The QUIC protocol is available only to users in the whitelist. To use the QUIC protocol, submit a ticket.

Enable QUIC

  1. Log on to the ApsaraVideo VOD console.

  2. In the left-side navigation pane, choose Configuration Management > CDN Configuration > Domain Names.

  3. In the left-side navigation tree, click QUIC.

  4. On the QUIC tab, turn on QUIC.

How to identify QUIC requests

In the following example, Google Chrome is used to show how to identify QUIC requests.

Procedure: Right-click a blank space on a web page and choose Inspect > Network. If the value in the Protocol column of a request is h3-29, the request is a QUIC request.

Note

If the Protocol column is not displayed, refresh the page, right-click a row, and then choose Header Options > Protocol.

The following figure shows that the Protocol column displays h3, which indicates that the request is a QUIC request.

示例