Latency is yet another, a very important topic when we talk about backend engineering or networking. In this article, we will be discussing latency, i

Pankaj Tanwar's Blog

submited by
Style Pass
2021-06-17 14:30:09

Latency is yet another, a very important topic when we talk about backend engineering or networking. In this article, we will be discussing latency, it's importance and ways to optimise it in order to improve application performance.

Latency is the total time between a client’s action and the server’s response to that action. It’s simply a round trip time between browser & server.

Latency is directly related to the performance of the application. High latency means a slow network and no one likes to be on a slow website. At a large scale, latency plays a very critical role.

Blocking : The time for which request was in queue. (A chrome browser can only make at max 6 HTTP request at a time to the server)

For the very first request, for the first 14KB data, latency is longer due to DNS lookup, a TCP handshake and the secure TLS negotiation.

One of the principal causes of network latency is distance between client (who is making request) and the server (responding to the request).

Leave a Comment