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

HTTP2 Flow Control

HTTP/2 Flow Control

shape Introduction

This chapter demonstrates about the HTTP/2 Flow control which implemented to over come the streams flow problems faced in HTTP 1.1, following are the concepts are covered in this chapter.
  • Flow Control

Flow Control

shape Description

HTTP/2 have the single TCP Connection to the multiple streams which leads to the header fine blocking. If TCP single connection have the multiple streams one of the stream can not be processed due to some reasons then which leads to block the over all streams and the problem faced on HTTP 1.1 in order to over come these problem HTTP/2 introduced flow control the figure below demonstrates the single TCP connections. HTTP/2 Flow Control is similar to the flow control of the Transport level. In HTTP/2 when a connection is established the default transfer size is 64 KB which is known as the window size. If any data frames come back then user need to compare with these values. Receiver can change the window size by increase or decrease which depends on the data handled the figure below demonstrates the Transfer size. Adjusting the window size is known as the flow control. Flow control and HTTP/2 is available at 2 levels those are the Changing Window Size Window size can be changed in some ways those are defined below.
  • By using the settings frame before communication takes place.
  • Window size can be changed during the Window Update Frame.

Summary

shape Key Points

  • HTTP/2 does not indicate how flow control should be implemented.
  • HTTP/2 default transfer size is 64 KB.
  • Window size is depends on the data.