Showing posts with label knowkledge. Show all posts
Showing posts with label knowkledge. Show all posts

Tuesday, 29 March 2016

What Is HTTP/2 And How It Works

HTTP/2 or HTTP Version 2 is the second major version of HTTP network protocol. It is based on SPDY/2 to improve web performance to a very great extent. HTTP/2 is developed by the Hypertext Transfer Protocol working group of the Internet Engineering Task Force.
HTTP 1.1 was a major move from HTTP 1.0 as it allowed persisted connections(more than one request/response on the same HTTP connection), improved caching, new status code, Enhanced compression support, OPTION method for Cross Origin Resource Sharing in web application and much more.
HTTP/1.1 has served the Web well for more than fifteen years, but its age is starting to show. Loading a Web page is more resource intensive than ever, and loading all of those assets efficiently is difficult, because HTTP practically only allows one outstanding request per TCP connection.
Because of which, many TCP connections are created to issue parallel requests. And since there isn’t any limit on this; too many connections are used most of the times which leads to TCP congestion and unfair resource usage by browsers. It also means lots of duplicate data being transferred “on the wire”.
If too many requests are made, it hurts performance. This has led the industry to a place where it’s considered Best Practice to do things like spriting, data: inlining, domain sharding and concatenation. These hacks are indications of underlying problems in the protocol itself, and cause a number of problems on their own when used.
HTTP/2, on the other hand, enables a more efficient use of network resources and a reduced perception of latency by introducing header field compression and allowing multiple concurrent exchanges on the same connection. It also introduces unsolicited push of representations from servers to clients. This specification is an alternative to, but does not obsolete, the HTTP/1.1 message syntax. HTTP’s existing semantics remains unchanged.
At a high level, HTTP/2:
  • is binary, instead of textual
  • is fully multiplexed, instead of ordered and blocking
  • can therefore, use one connection for parallelism
  • uses header compression to reduce overhead
  • allows servers to “push” responses proactively into client caches
Read more about HTTP/2 here.
Add your views in the comments below.

A ‘Brief’ History of the Internet


In the recent past, people have tried to make others understand and they have failed to understand anything about the net neutrality.  Keeping in mind the ongoing discussion about the need of the Open Internet, today I’m sharing a video and some facts that you must know about the history of and the internet.
In 1969, the researchers for DARPA sent the first data packet between the systems in Los Angeles in Stanford using ARPANET which eventually evolved to become the modern internet. By the end of 1971, there were 15 different nodes across the US connected to the same.In 1971, e-mail was invented and the very next year, transmission control protocol was created which established how data is transferred. By the mid-nineteen-seventies, first international ARPANET connections were made to England and Norway. It was followed by other networks in US departments of Energy and NASA. More and more networks began to come into the limelight throughout the eighties all across the US. In 1989, Tim Bernes-Lee invented the World Wide Web at the Sun Physics Laboratory in Switzerland. The internet went public in 1990 which provided a standard to the computers to interact with each other. First dial-up internet service was launched in Brookline Massachusetts in 1993 followed by the first search engine launch in the same year.
By the end of year 1994, there were 11 million Americans using the internet and in 1996, Nokia released the first internet phone. By the year 2000, there were 1,000,000,000 (1 billion) unique web pages. By 2012, there were 1 billion users on Facebook.
Did you like these facts and the video about the history of the internet? Share it with your friends!