If the connection between a client and a CDN node uses the QUIC protocol for data communication, the connection can ensure the security of data transmission and improve the resource access efficiency. This topic describes what is QUIC, how QUIC works, and client requirements and billing of the QUIC protocol.
What is QUIC?
Quick UDP Internet Connections (QUIC) is an experimental transport layer network protocol that provides the same security as TLS/SSL and has reduced connection and transmission latency. Based on UDP, QUIC has excellent performance in case of weak network connections. When packet loss and network latency are severe, QUIC can still provide available services. QUIC can implement different congestion control algorithms at the application layer without the support of the operating system and the kernel. Compared with the traditional TCP protocol, QUIC allows future changes to be made more easily. This protocol is very suitable for businesses that encounter bottlenecks in TCP protocol optimization.
Currently, Alibaba Cloud CDN supports the layer-7 QUIC (HTTP over QUIC) protocol. The version number is Q46.
How QUIC works
- If you use Google Chrome, only version Q46 is supported. The QUIC protocol supported by Alibaba Cloud CDN is version Q39. You cannot use Google Chrome to directly send QUIC requests to Alibaba Cloud CDN.
- If you use a self-developed app, the app must integrate a network library that supports the QUIC protocol, such as lsquic-client or Cronet.
- QUIC requests are not identified by the request header. Whether a request is a QUIC request is determined by the UDP protocol.
- CDN first checks whether the request is a QUIC request. If yes, the request is billed according to the QUIC billing rules. CDN will no longer check whether the request is an HTTPS request. If no, CDN continues to check whether the request is an HTTPS request.