简体   繁体   中英

EC2 latency, and latency in general

Webkit is telling me that a page's load time, the page being served via EC2, is 651ms. 502ms of that was "latency", and 149 was "download". What could the 502ms of latency be? Is that the time it takes to render the page on EC2 and send it back to the client?

Typically time required for a web request consist of

  1. DNS lookup 
  2. TCP handshake time + request(two round trip for fresh connection)
  3. Time to generate the page (Server side time).
  4. Download time.

1+2+3 is latency. 

Since ping time in your case has very high variance it can be due to network either on your side or ec2 side or in-between. Can you ping other ec2 boxes/ or other boxes from your home/office and try to isolate the issue is its on which side.

Just add those pings to the question let me see if I can help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM