In conversation with Http/2

Question:- Practically speaking, what’s the difference between Http/1 vs Http/2 ?

Answer:- We’re now going to compare its performance with loading 100 images one with Http/1 and other while loading images with http/2, with a very poor internet connection :-

Question:- What’s happening under the hoods ?

Answer:- So, that’s a hundred API calls. It takes a lot longer to do this in HTTP 1.1 versus HTTP 2. So, think better connection using mobile device or slow device or whatever, it really increases the latency and speed for loading messages or those using the same internet connection.

Question:- What’s the importance of using Http/2 ?

Question:- Let’s first talk about Http/1 first ?

Answer:- Http v1.1 is very expensive for API calls, as it opens new connections every time for each call.

Question:- What happens whenever we load a website these days with Http/1.1 and what’s it’s impact ?

Answer:- Currently when you go to any website, you will load about 80 assets on average and assets can be anything like CSS, HTML, Picture, JSP, etc.

Question:- Let’s now talk about Http/2 features ?

Answer:- HTTP/2 is a revolutionary technology and have almost become the new standard for internet communications, that improves the communication-over the network tremendously.

Note the below important points :-

Question:- Let’s conclude our learnings about the Http/2 :-

That means immediately after using your gRPC framework to implement the APIs, we shall get all these fixes, out of the box. So, we are glad that this framework is so revolutionary.

That’s all in this section. If you liked reading this blog, kindly do press on clap button multiple times, to indicate your appreciation. We would see you in next series.

--

--

Software Engineer for Big Data distributed systems

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store