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

  • Home
  • SEARCH
  • 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 6195261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:26:18+00:00 2026-05-24T03:26:18+00:00

Here’s my idea: Have a tiny, stand-alone JavaScript file that will start up after

  • 0

Here’s my idea:

Have a tiny, stand-alone JavaScript file that will start up after a page is completely loaded. The script will start a timer, download a file of a known size (let’s say exactly 10KB of gibberish text), then stop the timer.

If the timer determines that it takes exactly 1 second to download the file, does that mean that the user only has 80 kilobits per second downstream at their disposal? Or rather does it mean that it will consistently take them 1 second to download 80 kilobits from my server whether it be an image, a text file, a music file, etc.?

  • 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-05-24T03:26:19+00:00Added an answer on May 24, 2026 at 3:26 am

    There is a lot going on here. First off, when downloading a file, you have to content with both latency (the amount of time it takes the first downloaded bit to travel across the line) AND the bandwidth (the volume of data that fits in the wire). You also have to contend with the fact that contention and/or routing is fundamentally variable, and as such measurements will vary – perhaps significantly – from time to time.

    If you want a decent measure, you will need to try files of several different sizes (10kb, 100kb, 1000kb,, 10000kb, etc.) several times each. With that data (esp. if it is measured at different times) you should be able to estimate the “download speed” by trying to estimate the latency (independent of download size), factoring that out, and looking at the remaining time (for the best, worst, or average cases).

    If you keep the request packet small, I’d neglect the delay due to upload. Just make sure you try downloading really big files and you should be OK.

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

Sidebar

Related Questions

Here is the issue I am having: I have a large query that needs
Here's my scenario - I have an SSIS job that depends on another prior
Here is the scenario: I'm writing an app that will watch for any changes
Here's a basic regex technique that I've never managed to remember. Let's say I'm
Here's a problem I ran into recently. I have attributes strings of the form
Here's a coding problem for those that like this kind of thing. Let's see
Here we go again, the old argument still arises... Would we better have a
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
Here, i have coded to get data from DB. I want to store the

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.