[Huawei Developers] Sherlock F:
Overview

QUIC was introduced as an experiment to reduce the issues faced on TCP connection. TCP / TLS needs three round trips before the actual data is sent. QUIC reduces the round trips by working with UDP. With great features like eliminating head of line blocking, loss recovery over UDP by using multiplexed connections and congestion control, the protocol has evolved and is being widely used.

[IMG="https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/001/753/335/2640091000001753335.20201022081830.89579461683518660497917544796004:50511104060722:2800:75EA00EB369908A92DB3BD491A6534CE35B2EBAC397365BCDD48EC9BC58F0E60.gif"]https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/001/753/335/2640091000001753335.20201022081830.89579461683518660497917544796004:50511104060722:2800:75EA00EB369908A92DB3BD491A6534CE35B2EBAC397365BCDD48EC9BC58F0E60.gif[/IMG]

Important terms

Before understanding HQUIC, its important to understand the open systems interconnection model which created by the International Organization for Standardization Here we are breaking down the communication system of computer networking into different parts as shown below.

Let us focus on the 4th layer that is the transport layer and it is responsible for end to end communication between the two devices. This includes taking data and breaking it down which is known as segments before giving it to the layer below it. This layer is also important for flow control and controlling errors

[IMG="https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/001/753/335/2640091000001753335.20201021182225.20104879375673780762318440059326:50511104060722:2800:8C74F8AD345CD0EC51E6DE912616A7BB4E5F8FB40F4747607D4D55684B724636.png"]https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/001/753/335/2640091000001753335.20201021182225.20104879375673780762318440059326:50511104060722:2800:8C74F8AD345CD0EC51E6DE912616A7BB4E5F8FB40F4747607D4D55684B724636.png[/IMG]

TCP:

TCP is a connection oriented communication protocol to transfer data between systems over the network.

In TCP data is transferred in the form of packets. Checks error and makes sure the data is delivered and order of the data is maintained

UDP:

UDP is a connectionless protocol which is faster and more efficient than TCP. If we compare UDP with TCP they are very similar butif you use this protocol, the data will be sent even if there are error or issues in the receiving end.

Security:

Despite efforts of keeping web users protected from attacks, few errors in the design and implementation of transport layer security have led to breaches. TLS is a cryptographic protocol that provides end to end communications security over networks and is extensively used for internet communications. Applications like Instant messaging, email and browsers use TLS to prevent eavesdropping, message forgery and tampering.

Securing data against attacks while it is in transit on a network is very important. To achieve this many protocols have been introduced and few of the popular protocols include S/MIME, SSH, SSL(Secure Socket Layer)/TLS.

Transport layer security schemes can address these problems by enhancing TCP/IP based network communication with confidentiality, data integrity, server authentication, and client authentication.

The security at this layer is mostly used to secure HTTP based web transactions on a network. However, it can be employed by any application running over TCP.

Transport layer security schemes can address these problems by enhancing TCP/IP based network communication with confidentiality, data integrity, server authentication, and client authentication.

The security at this layer is mostly used to secure HTTP based web transactions on a network. However, it can be employed by any application running over TCP.

SSL:

SSL ensures data is secured when it is transferred between browser and the server, SSL also encrypts the link between browsers and servers which ensures the data that is passed is secure from attacks

TLS AND SSL:

SSL and TLS are popular cryptographic protocols that are used to imbue web communications with integrity, security, and resilience against unauthorized tampering. PKI uses the TLS protocol to establish secure connections between clients and servers over the internet, ensuring that the information relayed is encrypted and unable to be read by an external third party.

[IMG="https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/001/753/335/2640091000001753335.20201022082055.06938716864994554266733767706000:50511104060722:2800:88E9607CD5E2AC74EB21CAD840120FFD3E8478B27C97B8CF8F71F616D743C6C5.png"]https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/001/753/335/2640091000001753335.20201022082055.06938716864994554266733767706000:50511104060722:2800:88E9607CD5E2AC74EB21CAD840120FFD3E8478B27C97B8CF8F71F616D743C6C5.png[/IMG]

Connections that are secured by TLS will indicate their secure status by displaying HTTPS (Hypertext Transfer Protocol Secure) in the address bar of web browsers, as opposed to just HTTP. While TLS is primarily used to secure client-server connection, it is also used to protect emails, VoIP calls, and other connections.

[IMG="https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/001/753/335/2640091000001753335.20201022081952.13711468206352944715780369462045:50511104060722:2800:3AD753345ABC14F36963F8F523DA6D6BA049A27A78BDF6186D17DF4F50B610BF.gif"]https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/001/753/335/2640091000001753335.20201022081952.13711468206352944715780369462045:50511104060722:2800:3AD753345ABC14F36963F8F523DA6D6BA049A27A78BDF6186D17DF4F50B610BF.gif[/IMG]

HQUIC

HQUIC supports QUIC which is a new transport protocol for the internet, which solves a number of transport-layer and application layer problems experienced by modern applications on the web.

QUIC reduces latency compared to that of TCP. On the surface, QUIC is very similar to TCP+TLS+HTTP/2 implemented on UDP. Because TCP is implemented in operating system kernels, and middlebox firmware, making significant changes to TCP is next to impossible. However, since QUIC is built on top of UDP, it suffers from no such limitations.

[IMG="https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/001/753/335/2640091000001753335.20201022082150.20327667246268688392035170662147:50511104060722:2800:ADBDE5C9D652134F870670ADB9136238EDF0735A2EFCDE9B8121F94ECCF2B692.png"]https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/001/753/335/2640091000001753335.20201022082150.20327667246268688392035170662147:50511104060722:2800:ADBDE5C9D652134F870670ADB9136238EDF0735A2EFCDE9B8121F94ECCF2B692.png[/IMG]

HQUIC kit gives your apps low latency, high throughput and secure and reliable communication capabilities. It supports the GQUIC protocol and provides very efficient methods to ensure congestion control in challenging network environments making sure your apps run fast and have higher throughput.

Advantages

Supports gQUIC and Cronet

Secure and reliable: Features to make communication network secure and reliable, it outperforms most protocols with its efficiency during poor or challenging network condition.

Reduced round trip delay: With great improvements to TCP and TLS protocols the amount of time it takes for the signal to be sent plus the amount of time it takes for an acknowledgement of the signal is reduced to 0. QUIC handshakes frequently require no roundtrips before sending the payload, as compared to 1-3 roundtrips that is taken by TCP TLS protocol. This is excellent for entertainment apps like online games and video streaming services.

No Head of line blocking: Head of line blocking was the major issue with HTTP2 which was running on top of TCP. Multiplexing without head-of-line blocking is a proven method for concurrent data transmission and it is supported by QUIC ensuring. The stream facing the packet loss issues does not affect the other streams.

Conclusion:

With the arrival of 5G, user’s expectation for excellent network connection has been very demanding. With Huawei’s intelligent congestion control algorithm to connect your apps faster and avoid packet loss, HQUIC Kit remains an excellent choice for apps to apply in a wide range of scenarios ranging from communications and gaming.

Stay tuned for part -2 we are going to use HQUIC kit to build an app to test the difference in performance.