Thanks to even faster DSL access, Internet site load times have reduced con­sid­er­ably. As a result, fast page-loading is now taken for granted, meaning that slow-loading websites have little chance of surviving in the market. To make matters worse, the subject of en­cryp­tion is becoming in­creas­ing­ly important: the HTTPS-Standard is a trusted ally when it comes to pro­tect­ing user privacy, but a TLS handshake, cer­tifi­cate, and key exchange will result in ad­di­tion­al delays in the loading process. Google’s QUIC protocol will solve this problem.

$1 Domain Names – Grab your favorite one
  • Simple reg­is­tra­tion
  • Premium TLDs at great prices
  • 24/7 personal con­sul­tant included
  • Free privacy pro­tec­tion for eligible domains

What is QUIC (Quick UDP Internet Con­nec­tions)?

QUIC is an ex­per­i­men­tal protocol, created by search engine giant Google and in­tro­duced to the public in 2013. The name stands for ‘Quick UDP Internet Con­nec­tions’, which is due to the fact that it allows the fast and easy sending of simple packets over the con­nec­tion-less User Datagram Protocol (UDP). The reason for de­vel­op­ing QUIC was a desire to provide an al­ter­na­tive to the es­tab­lished security solution TCP, HTTP/2 and TLS/SSL by de­vel­op­ing the same pro­tec­tion but with a reduced con­nec­tion and transport delay, and allowing mul­ti­plex­ing con­nec­tions. Google has designed QUIC like this so that the protocol itself controls the con­nec­tion. During the first handshake between sender and receiver, they exchange the cer­tifi­cates and keys needed to encrypt the sent datagrams. Later com­mu­ni­ca­tions eliminate this exchange, which minimizes latency. The en­cryp­tion protocol is the current, speed-optimized TLS version 1.3 (stan­dard­ized in March 2017), which is preferred over the in-house crypto solution. When it comes to mul­ti­plex­ing, the QUIC protocol follows the Google-developed SPDY protocol, which provided the template for HTTP/2: a single client-server con­nec­tion which can be used to transmit several different data streams, reducing load time sig­nif­i­cant­ly.

Note

Since 2016, an official working group of the IEFT has been working on op­ti­miz­ing the QUIC protocol. Nearly 50 de­vel­op­ers from Google, Mozilla, Microsoft, and other companies are being led by Lars Eggert and Mark Not­ting­ham with the aim of advancing and dis­sem­i­nat­ing QUIC’s spec­i­fi­ca­tions. The protocol has been in use on Google servers for several years (since 2013). Ad­di­tion­al­ly, QUIC was also im­ple­ment­ed in their in-house Chrome browser, which is why some Internet traffic (eg. YouTube) is currently being processed using the advanced transport protocol.

What ad­van­tages does QUIC offer?

Some important features and ad­van­tages of QUIC have already been mentioned, but here they will be discussed in greater detail, and with reference to further im­prove­ments. TCP, which plays a major role as a pioneer in the concept of the emerging transport protocol, serves as a good protocol com­par­i­son. However, it is clearly inferior to the Google protocol in some respects, as the following guide will il­lus­trate: 

Faster Con­nec­tions

The main aspect of per­for­mance that gives QUIC an advantage over TCP is that the con­nec­tion setup is much faster. Even without en­cryp­tion via SSL/TLS, a con­nec­tion using the tra­di­tion­al transport protocol with the ‘three-way-handshake’ takes more steps than the UDP-based Google solution. QUIC will start a con­nec­tion with a single packet (or two packets if it is the first con­nec­tion), and will even transmit all necessary TLS or HTTPS pa­ra­me­ters. In most cases, a client can send data directly to a server without relying on a response, while TCP must first obtain and process the server’s ac­knowl­edge­ment.

Multiplex con­nec­tion options

TCP uses the TCP ports and IP addresses of connected systems to identify a con­nec­tion. Because of this, it is not possible for a client to com­mu­ni­cate with the server over multiple ports in a single con­nec­tion. The QUIC protocol solves the situation in a different way: it uses 64-bit con­nec­tion detection and various ‘streams’ to transport data within a con­nec­tion. Therefore, a QUIC con­nec­tion is not nec­es­sar­i­ly bound to a specific port (in this instance a UDP port), an IP address or a specific endpoint. As a con­se­quence, port and IP changes are both viable options, as is the pre­vi­ous­ly described multiplex con­nec­tion.

As­sign­ment of unique sequence numbers

Each data segment of a QUIC con­nec­tion receives its own sequence number, re­gard­less of whether it is an original or a forwarded segment. By default, TCP does not do this, which is why a host cannot determine the status of a sequence – only in using a timestamp extension can the classic transport protocol allow that kind of dis­tinc­tion. Con­tin­u­ous­ly tagging the packets is ad­van­ta­geous because it allows a more accurate round trip time (RTT) estimate. 

Forward error cor­rec­tion

Lost packets do not present a big problem when trans­port­ing data over QUIC. Thanks to a simple XOR-based error cor­rec­tion system, it is not necessary to resubmit the cor­re­spond­ing data. These can be con­struct­ed at any time using FEC (Forward Error Cor­rec­tion) packages – backups of the original packages for a data group. However, error cor­rec­tion does not work if several packages from a data group are missing.

Overload control (packet pacing)

TCP always tries to send data as fast as possible, which is an advantage in terms of having a fast data con­nec­tion, but is also as­so­ci­at­ed with a certain loss rate. If a packet is lost, the re­trans­mis­sion (TCP Fast Re­trans­mit) is initiated quickly. For this purpose, however, TCP tem­porar­i­ly reduces the size of the boutique window, which often results in the data being trans­mit­ted in­ter­mit­tent­ly. The QUIC protocol coun­ter­acts these load peaks with ‘packet pacing’. This procedure ensures that the trans­mis­sion rate is au­to­mat­i­cal­ly limited. So, even with low bandwidth con­nec­tions, there is no overload. However, this is not a new technique: some Linux kernels also use the method for the TCP protocol.

Au­then­ti­ca­tion and en­cryp­tion

Safety has been a key aspect in the planning and design of QUIC right from the very beginning. De­vel­op­ers have also pri­or­i­tized finding a solution to one of TCP’s biggest issues: the header on a sent packet is in plain text and can be read without prior au­then­ti­ca­tion. Man-in-the-middle-attacks are not uncommon as a result. However, QUIC packages are always au­then­ti­cat­ed and largely encrypted (including payload). The parts of the header that are not in encrypted form are protected from injection and tampering by au­then­ti­ca­tion on the receiver’s end

Hardware in­de­pen­dence

Another major advantage of QUIC over TCP is that the Google protocol is detached from the system. While TCP needs support from the re­spec­tive platforms or devices to be able to com­mu­ni­cate, QUIC support is only required at ap­pli­ca­tion level. It is up to the in­di­vid­ual software companies to integrate the software – they are not dependent on hardware man­u­fac­tur­ers. To date, it is mainly Google ap­pli­ca­tions like Google servers or Google Chrome that have QUIC im­ple­ment­ed. However, programs like the browser Opera, Caddy server software, and LiteSpeed Tech­nolo­gies’ load balancing and web server products already have third-party ap­pli­ca­tions which enable con­nec­tions through the new transport protocol.

Dis­ad­van­tages of the QUIC protocol

The fact that QUIC is likely to become more popular is thanks to IETF’s com­mit­ment. With ad­just­ments to common standards since the group’s inception in 2016, the protocol has evolved from a Google-centric to a common network protocol. However, the op­ti­miza­tion process is far from over: the QUIC team continues to address existing issues which still require the right solution.

One of the most important issues still facing the QUIC protocol is security. While au­then­ti­ca­tion and en­cryp­tion provide a more secure method of transport for data, they are also re­spon­si­ble for one of QUIC’s major drawbacks: Since the packet headers contain less plain text in­for­ma­tion than those with TCP con­nec­tions, tasks like trou­bleshoot­ing, traffic reg­u­la­tion, or network man­age­ment become more difficult with QUIC con­nec­tions. Because of this, network operators and firewall man­u­fac­tur­ers among others find it difficult to ensure the quality of their product.

Another problem with the QUIC protocol is that automatic con­ges­tion control on high-bandwidth data con­nec­tions may result in poorer trans­mis­sion rates in some cases.

Business Email
Discover a new way to email
  • Write perfect emails with optional AI features
  • Add cred­i­bil­i­ty to your brand
  • Includes domain, spam filter and email for­ward­ing

Ac­ti­vat­ing and de­ac­ti­vat­ing QUIC – how it works

Although QUIC’s de­vel­op­ment has been sig­nif­i­cant­ly advanced, par­tic­u­lar­ly in recent years, it has only been used ex­per­i­men­tal­ly in Google Chrome browsers and Opera. It is activated by default in Chrome, while Opera users will need to manually unlock the protocol to take advantage of the potential per­for­mance boost. The following sections will explain exactly how to activate and de­ac­ti­vate QUIC in both of these browsers.

Con­fig­ur­ing QUIC in Chrome

To change the settings of the QUIC protocol in Google Chrome, you need to go to the ex­per­i­men­tal features con­fig­u­ra­tion menu. Just enter the following command in the address bar:

chrome://flags

Find the ex­per­i­men­tal QUIC protocol menu item using the search function, which you can do by pressing the key com­bi­na­tion [CRTL+F]. If you haven’t made any changes to the basic settings yet, the ‘Default’ option should be selected for the protocol. In terms of QUIC, this default Chrome con­fig­u­ra­tion means that the protocol is enabled.

If you want to de­ac­ti­vate the protocol, just click ‘Disabled’ and then click ‘Start Now’. Chrome will then close, but the next time you start your browser, the new settings will be activated. If you want to re­ac­ti­vate the protocol, proceed in the same way, but select either ‘Default’, or ‘Enabled’. 

Tip

Chrome offers the ability to view active QUIC sessions. You just need to insert the command chrome://net-internals/#quic into the QUIC address.

Turning QUIC off and on with Opera and other browsers

Opera, which is based on Chromium, has been in­te­grat­ing an ex­per­i­men­tal version of the QUIC protocol since version 16, which was released on August 2013. The dif­fer­ence with Google Chrome is that the protocol is disabled by default on Opera. To use the new data transport tech­nol­o­gy, you’ll have to activate it yourself. You can find the option for this in the con­fig­u­ra­tion menu for ex­per­i­men­tal features, like with Google Chrome. On Opera, this is called ‘ex­per­i­ments’ and can be called up by entering the following command into the address bar:

opera://flags

In the list of features, you will find the protocol under ‘Ex­per­i­men­tal QUIC protocol’. To turn on QUIC, just select ‘Enabled’, and then ‘Restart Now’. If you want to change back to the original settings later, you can do that the same way, but with ‘Disabled’ selected. 

Tip

Opera lets you view active data con­nec­tions that run on QUIC. To do this, add the command opera://net-internals/#quic into the browser after enabling the protocol.

Which websites already use QUIC protocol?

As the de­vel­op­ers of QUIC, Google in­te­grat­ed the protocol into their servers as early as 2013, which is why various Google services are among the best-known web ap­pli­ca­tions that allow the transport of data through the pro­gres­sive protocol. First and foremost, of course, is the search engine at the center of the company. But other Google web services such as Maps, Google +, Gmail, Google Docs, and YouTube can all be delivered using the QUIC protocol, provided the ap­pro­pri­ate client has been used.

Chrome users can use the HTTP/2 and SPDY indicator to run QUIC on other websites. The extension adds a small lightning bolt symbol next to the address bar which turns green when the page that has been called and confirms that it can support the transport protocol. If you move the mouse over the symbol, a tool also reveals the version number.

Website Builder
From idea to website in record time with AI
  • Intuitive website builder with AI as­sis­tance
  • Create cap­ti­vat­ing images and texts in seconds
  • Domain, SSL and email included
Go to Main Menu