News for hackers. Stuff that matters.
Re:500 miles (2002) by nickysielicki on Thursday December 13, 2018 @07:05PM (#18677305)
Took me a couple times to read through this to realize that this was asking about the intermediate trip time between the server and the client rather than the total round-trip time that it took to process requests, including processing time.

Very creative question, requires thinking outside the box. I don't think I would be able to answer it correctly.

Re:500 miles (2002) by nostrademons on Thursday December 13, 2018 @07:17PM (#18677350)
As measured it was actually talking about total round-trip time including server processing, but it was measured from within the JS on the client, from start-of-AJAX-request to finish, and so it included both server/client hops in addition to processing time. That's part of the red herring: since you expect the bottleneck to be server processing time, you look there first.

A decent partial answer to "How to prevent this?" is to look at additional metrics - graphing server-only latency would show the expected correlation with server load and an inverse correlation with total RTT, and would narrow the search space significantly.