logoalt Hacker News

BoppreHtoday at 1:23 PM1 replyview on HN

With a better API we could have a progress bar that goes through the TCP/IP stack: advance when the domain is resolved, when a handshake is finished, when the request is sent, when the response starts streaming back, when the response finishes.

It'd be a very jumpy bar, but it helps develop intuitions. "The first part is always slower on this machine", "when it gets stuck on this spot I need to reset my router", "this part will be slow because the request is large", etc.


Replies

mlhpdxtoday at 3:09 PM

Perhaps an aside, but the things we do to compensate for the warts of TCP are staggering.