07 May 2019

HTTP 1.0 Performance


HTTP 1.0 had performance issues by slow-start of TCP. The 3-way handshaking was guilty.


https://devwebcl.blogspot.com/2018/09/tcpip-illustrated.html

This was fixed in HTTP 1.1 reusing the connections. Similar to a pool of TCP connections.

2.

  • Under HTTP 1.0, connections are not considered persistent unless a keepalive header is included,[1]

    -Dhttp.keepAlive=false (it can be configured at java system property)

  •  In HTTP 1.1, all connections are considered persistent unless declared otherwise.[2]


Resources:

- https://www.w3.org/Protocols/HTTP/1.0/HTTPPerformance.html
- https://hpbn.co/http1x/
- https://blog.insightdatascience.com/learning-about-the-http-connection-keep-alive-header-7ebe0efa209d
- https://en.wikipedia.org/wiki/HTTP_persistent_connection#HTTP_1.0
- https://en.wikipedia.org/wiki/TCP_congestion_control


No comments :

Blog Archive

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.