Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8043245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T04:50:33+00:00 2026-06-05T04:50:33+00:00

If a computer has to fetch some information, a network request is generally one

  • 0

If a computer has to fetch some information, a network request is generally one of the slowest possible sources. My understanding is that, in general:

  • Network access is much slower than disk
  • Disk access is much slower than RAM
  • RAM access is much slower than CPU registers

My question is this: what makes network access so much slower, on average, than disk?

Obviously this isn’t always true: you could have a blazing-fast network connection to a server in the same room and a sluggish hard drive. But for the purposes of this question, please imagine an average user surfing the web: reading data from disk will be faster than fetching the same data from Google.

Some of the pieces I can think of involved in, say, an HTTP request are:

  • DNS lookup of the IP
  • The three-way handshake to establish a TCP connection
  • Packetization: breaking the HTTP request into TCP packets, and putting those into IP packets, with all the necessary counters and checksums, etc
  • Transmission: the time required for electrical signals to move across wire
  • Routing: the decision-making, buffering, etc that happens inside routers
  • Processing: the server’s formulation of a response
  • All the transmission and routing of the response, including resending missing packets
  • Ordering and assembling the TCP packets’ contents and handing the HTTP response back to the client

If I’ve missed any major steps, please let me know.

Of these steps, ignoring server processing (which isn’t really a network issue), are any parts particularly slow? Do any of them account for most of the inherent delay in network requests?

Update: Some numbers

An average DNS lookup takes 60~120ms, followed by a full round-trip
(RTT) to perform the TCP handshake – combined, that creates 100-200ms
of latency before we can even send the request!

  • Source: Chrome Networking: DNS Prefetch & TCP Preconnect by Ilya Grigorik, Developer Advocate at Google
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T04:50:34+00:00Added an answer on June 5, 2026 at 4:50 am

    Physical transmission latency (i.e. having an overhead of at at least 2 * distance / speed of light for every request) tends to trump any other performance factors. You can check that by comparing the request time for local system to a remote one. For example, on a blazingly fast internet connection I get the following results:

    $ /usr/bin/time --quiet -f %e wget -q -O/dev/null www.google.com/404
    0.05
    $ /usr/bin/time --quiet -f %e wget -q -O/dev/null localhost/404
    0.01
    # A machine in the same LAN
    $ /usr/bin/time --quiet -f %e wget -q -O/dev/null 192.168.1.42/404
    0.01
    

    Assuming that google’s webservers are no slower (when it comes to bandwidth, memory, buffering, HDD, etc.) than the apache I’m running, that means that even with this extremely fast and low-latency connection, and connecting to google, the time to go through the network dwarfs any other concerns (such as local processing).

    Now you could assume that that’s because of routing overhead, and buffers or so (let’s exclude lost packets for a second, since they highly depend on the medium). You can determine the influence of these factors by by comparing the time it takes to send a packet over the Internet to the time it would take in a direct current network cable.

    For example, for packets from Düsseldorf to Los Angeles, Wolfram Alpha calculates a physical distance of 31ms (43 with current fiber cables). Assuming that the cables run in a perfect line between the two cities (which they certainly don’t), this make up half of the actual delay of 85ms I’m measuring.

    Consequentially, it is paramount to reduce the distance between the peers as well as the number of roundtrips whenever possible. If the messages are small compared to the available bandwidth the TCP and SSL/TLS handshakes will therefore be the main reason for the slowness of networking. Obviously, for larger files (or if there is a bottleneck, which can happen more often than you would expect) bandwidth becomes an issue as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two computers with Windows Server 2003. One computer has some shared folders
I installed a Windows serivce that fetches has to fetch some strings from the
For the reasons of electricity my computer has shut down. That time my Netbeans
My development target is a Linux computer that has two physical serial ports located
i'm programming a simple OpenGL program on a multi-core computer that has a GPU.
A list of every update and hotfix that has been installed on my computer,
Possible Duplicate: Slow Android emulator is it my computer's hardware limitation? it has 1024
My computer has an update process that auto-restarts it around 3 am. Sometimes, upon
My laptop computer has (probably) corrupted graphics card memory and it causes some bizarre
If a computer has multiple network cards, all of them connected to different networks

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.