QUIC protocol: what it consists of, how it works and what advantages it has

In order to surf the Internet, there must be different protocols. With the passage of time many of them have progressed and some new ones have even appeared. For example HTTP and its most recent and secure version HTTPS or TCP, which is the transmission control protocol that allows two computers to connect and exchange data. In this article we are going to talk about QUIC . We are going to explain what it is, why it is important and what are its advantages.

What is the QUIC protocol

QUIC protocol

QUIC is a network protocol created by Google. Its full name is Quick UDP Internet Connections, which if we translate it into Spanish we can say Fast UDP Internet Connections . It is used to send packets over UDP. It was born as an alternative to TCP, which is the protocol that has been indispensable for Internet connections for decades.

It acts in a similar way to HTTP / 2 and TLS / SSL, but instead of using TCP it is based on UDP . They began to implement it in 2012, but it was in 2013 when they really did tests in Google Chrome to check its operation and thus see the advantages it really has.

Today QUIC is already installed as standard in the Google browser . In others we can enable it, as is the case with Opera. Hopefully soon more programs will use it. At the moment it is already running on different platforms of the search giant, such as YouTube, Gmail or Drive.

What is QUIC for

So what is the actual function of QUIC? We can say that it is a protocol that will be used to establish connections between the sender and the receiver. When you enter a page, in order to access the content, a series of data is sent. This includes certificates and exchange keys.

This type of protocol is necessary to navigate, play on the Internet, use video calling applications … It serves to offer protection to that connection , something that we can also have with TLS / SSL, but in this case improved. It will offer better performance by decreasing latency.

What it basically does is transport packets on the network . But it has an important difference when it is based on UDP, and that is that the server that sends the information does not have to be in constant communication with the server that receives it. This is what remarkably helps decrease latency. You do not need time to check if that information has arrived correctly.

Protocolo QUIC en Internet

Advantages of using QUIC in HTTP / 3

After explaining what the QUIC protocol created by Google is and what it is for, let’s see what its main advantages are . These points will help us navigate the Internet faster and maintain security at all times. They are two important factors and that, thanks to more recent protocols like this, have improved. HTTP / 3 and QUIC represent an important advance for what will be the Internet and its applications.

Speed

One of the advantages is the higher speed . This will allow you to load a website in less time or use different applications. The HTTPS protocol has a negative point to consider, and that is that it uses TLS for the exchange or handshake. QUIC makes this faster.

This exchange is necessary to establish the TLS encryption and exchange the keys. Shorten the steps necessary to reach the same goal. In this case it starts the connection with a single packet or two if it is the first time.

Less hassle when switching networks

Something important that the QUIC protocol also improves is stability when we change networks . When does this happen? If you are connected to a server with mobile data on a 4G or 5G network and you suddenly switch to Wi-Fi over TCP, it is going to cut off and you will have to reset again.

On the other hand, thanks to QUIC this network change is much more fluid and avoids problems. You will simply have to send a packet to establish the connection and not have to re-establish it again. This is very useful if, for example, we are sharing a data network on a computer and at any given moment we are interested in connecting to the Wi-Fi network.

Doesn’t affect packet loss as much

In the event of packet loss on HTTP / 2 over TCP , this can cause a significant performance issue. When a package is lost, the recipient must wait for it to be recovered.

What the QUIC protocol does to solve this is that it allows data streams to reach the recipient independently. There is no need to wait for those lost data packets to be retrieved, and therefore it is not as much of a concern if this happens.

Security

One of the most important factors in implementing QUIC is security . In this sense, Google developers have corrected one of the most important TCP flaws, which is the fact that the header of the sent packets is in plain text and can be read without authentication.

This we mentioned could lead to a Man in the Middle attack, which basically consists of intercepting what is sent. But the QUIC protocol improves this and the packets that are sent are always encrypted and authentication by the recipient is required.

Allows multiplexed connections

Multiplexed connections are those that use two or more signals and combine them to transmit through a single medium. This will allow multiple communications at the same time. This will streamline web application connections.

It must be taken into account that HTTP / 2 multiplexes the information through a single TCP flow and this means that, in the event that a TCP segment is lost, there is a blockage. QUIC improves this point and will allow multiplexed connections. HTTP / 3 will be able to send different multiplexed files through QUIC.

In short, the QUIC protocol comes to improve certain aspects and optimize Internet browsing. It is something that will be more and more present and that some browsers already use. Little by little we will see more applications and websites that use it. We can summarize that this protocol comes to improve the performance of any connection that uses TCP.