HTTP2 - SPLessons
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

HTTP2 Multiplexing

HTTP2 Multiplexing

shape Introduction

This chapter demonstrates about the HTTP2 Multiplexing which support the single connection and allow to share flexibly by pending request and responses following are the concepts covered in this chapter.
  • Multiplexing
  • Difference between HTTP/1.1 & HTTP/2

Multiplexing

shape Description

In the HTTP/2 there is only one single connection which is used for both requests and responses to made the connection, the figure below demonstrates the single connection as shown. Single connection is possible by the multiplexing. The multiplexing is a technique in which multiple signals are combined into single signals and the reverse process is known as the DE Multiplexing. Multiplexing is a very common technique and the figure below demonstrates the multiplexing is as shown below. In HTTP/2 multiple requests and responses shared the single TCP Connection which supports the proper directional requests and responses without any issues the figure below demonstrates the Multiplexing requests and responses.

Difference between HTTP/1.1 & HTTP/2

shape Description

The table below demonstrates the difference between the difference between HTTP/1.1 and HTTP/2 while loading the typical web browsers page is shown below.
HTTP/1.1 Page Load HTTP/2 page Load
Which creates six to eight connections Which creates only single connection.
Which request HTML page. Which request HTML page.
Which recive the HTML page. Which recive the HTML page.
Which decodes the HTML Page Which is also decodes the HTML Page.
Which request the six to eight files included in HTML pages without aby priorities and dependencies. Which request all the files included in the HTML with priorities and dependencies.
Every connection wait for the requested file to arrive. File returned, Multiplexed on single connection, as ready
Request foir the next file the now establish the connection. -----
Which repeatds up to the last file. -----
Close six connections. Close single connection.

Summary

shape Points

  • Multiplexing is very simple and easy.
  • Reverse of Multiplexing is known as DE Multiplexing.
  • Multiplexing use only single connection.