<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sourav Das on Medium]]></title>
        <description><![CDATA[Stories by Sourav Das on Medium]]></description>
        <link>https://medium.com/@lifeographist?source=rss-a6ab57aec99c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2rrHIlxPGlboTxC9eTvyIQ.jpeg</url>
            <title>Stories by Sourav Das on Medium</title>
            <link>https://medium.com/@lifeographist?source=rss-a6ab57aec99c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 19:26:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lifeographist/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[QUIC: The Network Protocol of Future Web]]></title>
            <link>https://medium.com/@lifeographist/quic-the-network-protocol-of-future-web-c545153b2f35?source=rss-a6ab57aec99c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c545153b2f35</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[future-technology]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[http2]]></category>
            <dc:creator><![CDATA[Sourav Das]]></dc:creator>
            <pubDate>Sun, 10 Nov 2019 17:11:33 GMT</pubDate>
            <atom:updated>2020-01-08T13:16:38.550Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IXw0QNQgsiarjMUtoLfxkA.jpeg" /><figcaption><a href="https://unsplash.com/s/photos/university-of-washington%2C-seattle%2C-united-states">University of Washington, Seattle, United States</a></figcaption></figure><p>The internet has evolved dramatically in the last few years. With a billion people online has thrown groundbreaking challenges to the existing architecture. From latency to security, distributed systems to serverless has evolved in the last few years to make a better web. Even underlying architectures are going through some smart refabrication.</p><p>Fundamental of the modern web is HTTP Protocol Stack. Especially HTTP over TCP has fulfilled every requirement till now. Due to its implementation and philosophical limitation, it may not be the better choice for the future web.</p><h4>What are the fundamental issues with HTTP over TCP stack?</h4><h4>Latency</h4><p>The immense growth in latency-sensitive web services, placing enormous demand for reducing it. As the internet is rapidly shifting towards secure data transmission, this is adding another layer of delays. Additionally, Middleboxes have become vital control points of the Internet’s architecture. Firewalls, NATs have made it incapable of to upgrade to a new protocol without explicit support.</p><h4>Handshake Delay</h4><p>HTTPS stack on TCP connection commonly incurs one Round Trip Delay of connection setup before transmitting data. Unnecessary round trips most impact most connections on the internet. Especially short transmissions become heavy and slow.</p><h4>Head-Of-Line(HOL) Blocking Delay</h4><p>HTTP recommends limiting the number of connections to reduce latency and overhead cost of using multiple TCP connections.HTTP/2 multiplexes various objects to reduce transaction latency further, and suggests using a single TCP connection to any server.</p><p>TCP’s byte stream abstraction, however, prevents applications from controlling the framing of their communications and imposes a “<strong>latency tax</strong>” on application frames whose delivery must wait for retransmissions of previously lost TCP segments.</p><p>And to modify all these, its essential to coordinating between OS developer, application developer, network vendors, middlebox vendors, which seems a mount-moving task.</p><h3>What is next then?</h3><p>Jim Roskind, in the year 2012 at Google, developed a new protocol that was built upon UDP (User Datagram Protocol) and named it Quick UDP Internet Connections. IETF’s use of the word QUIC is not an acronym; it is merely the name of the protocol.</p><p>QUIC is designed to meet several goals, which include all the above-mentioned issues. It combines its cryptographic and transport handshake to minimize setup RTT.</p><h3>A very summarized version of QUIC’s design and implementation</h3><ol><li><strong>Connection Establishment</strong></li></ol><p>Initially, when the client has no idea about the server, the client sends an inchoate hello message (CHLO) encrypted to elicit a reject response. Along with this reject response server sends its configuration, public key chain, and a source address token.</p><p>A new connection request is now prepared, along with the provided data. Here QUIC saves one trip of establishing a secure connection, as in this final request, it encrypts the data as the server requirement.</p><p>QUIC’s provides two levels of secrecy of data:</p><p>i) Initial client data is encrypted using primary keys</p><p>ii)subsequent client data, and all server data are encrypted using forward-secure keys.</p><p><strong>2. Stream Multiplexing</strong></p><p>QUIC supports multiple streams within a connection; it ensures that a lost UDP packet only those streams, which were carrying those packets.QUIC streams are lightweight and bidirectional byte streams. QUIC stream multiplexing is done by encapsulating stream data in stream frames. A typical QUIC frame can carry multiple stream frames from one or more steam.</p><p><strong>3. Authentication and Encryption</strong></p><p>QUIC packets are fully authenticated and mostly encrypted.QUIC packet headers are although not encrypted. These headers are mostly required for routing or decrypting the packets. Any information sent in unencrypted handshake packets, like the Version Negotiation packet, is included in the final connection keys. In-network tampering of these handshake packets causes the final connection keys to be different at the peers, causing the connection to eventually fail without successful decryption of any application data by either peer. Reset packets are sent by a server that does not have the state for the connection, which may happen due to a routing change or due to a server restart.</p><p><strong>4. Loss Recovery</strong></p><p>Every QUIC packet carries a new packet number, including those carrying retransmitted data. This design omits the need for a separate mechanism to distinguish the ACK transmission and original transmission, thus avoiding TCP’s retransmission ambiguity problem. Stream offsets in-stream frames are used for delivery orders, separating the two functions that TCP conflates.</p><p><strong>5. Flow Contol</strong></p><p>Similar to HTTP/2, QUIC employs credit-based flow control. As data is sent, received, and delivered on a particular stream, the receiver periodically sends window update frames that increase the advertised offset limit for that stream, allowing the peer to send more data on that stream.</p><h3>QUIC Performace</h3><p>The Google Search and YouTube apps were developed independently from Chrome; they are tuned specifically for the mobile environment. Google Search app retrieves smaller responses, whose content has been tailored to have reduced latency in mobile networks. Similarly, the YouTube app pre-warms connections to reduce video playback latency and uses an Adaptive Bit Rate (ABR) algorithm that is optimized for mobile screens.</p><p>QUIC’s performance benefits over TLS/TCP are thus not uniformly distributed across geography or network quality: benefits are greater in networks and regions that have higher average RTT and higher network loss.</p><p>The QUIC implementation was initially written with a focus on rapid feature development and ease of debugging, not CPU efficiency. It has been found that QUIC’s server CPU-utilization was about 3.5 times higher than TLS/TCP.</p><h3>Conclusion</h3><p>QUIC was designed and launched as an experiment, and it has now become a core part of our serving infrastructure. One of QUIC’s most important features is its ability to be used as a platform for wide-scale experimentation with transport mechanisms, both at the server and at the client. Ongoing experimentation and work are continuing on several fronts.</p><p>This article is derived from <a href="https://storage.googleapis.com/pub-tools-public-publication-data/pdf/8b935debf13bd176a08326738f5f88ad115a071e.pdf">The QUIC Transport Protocol: Design and Internet-Scale Deployment</a>. Go ahead and read this awesome paper :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c545153b2f35" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>