HTTP/1.1 is the standard that is adopted by the web community. In recent times, HTTP/2 is becoming more popular because of its advantages. Some of the benefits of using HTTP/2 are as follows:
- Flow control between sender and receiver
- Better compression of HTTP headers
- Single TCP connection for bidirectional streaming
- Server push support for sending files on one TCP connection
- Support from all major browsers
The technical definition from Google about protocol buffers is as follows:
Protocol buffers are a flexible, efficient, automated mechanism for serializing structured data—think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use the specially ...