Questions tagged [download-speed]

The rate of digital data transfer from an internet source to a device requesting the data. Use this tag for programmatic challenges involving this speed, for example calculating it or controlling it.

Download speed is a metric used to quantify the amount of data being loaded into the client computer from the server. Units usually used for download speed are bytes per second (contrary to link bandwidth which is usually given in bits per second).

39 questions
0
votes
1 answer

Why is the file downloading work slowly when I use my callback progress with curl?

I have this simple python script, that downloads file using curl. Also it calculates bandwidth. Here is the whole script: import pycurl import time next_time = 0 # Callback function invoked when download/upload has progress def…
Arr
  • 15
  • 2
0
votes
1 answer

Measuring download speed when using HttpURLConnection Java

So I'm designing a download manager using java, I need to show the download speed to the user. below is the code I've used to find the download speed in KB/s but I don't think it's measuring download speed correctly. it's measuring my download speed…
Mahdi Ghajary
  • 2,717
  • 15
  • 20
0
votes
0 answers

Best method to detect the download capabilities of user, using Javascript

I need to detect the download capabilities of the users device in order to figure out whether I should give them a large 50mb video to download or a small 40kb image to download. My first thought was to detect the internet connection of the user…
Ian Steffy
  • 1,234
  • 3
  • 18
  • 45
0
votes
1 answer

PHP fread ssh stream significantly slow

Scenario: I needed a function to get STDOUT of a command run through SSH asynchronously. This has various uses including (and most importantly) reading files through SSH. An important feature of this function is that it is asynchronous, hence I can…
Christian
  • 27,509
  • 17
  • 111
  • 155
0
votes
3 answers

Good techniques for serving several images per page

I have a web application that needs to serve a large amount of small images per page (up to 100). I can use caching to reduce calls to the database/backend, but there is a noticeable impact from having to make so many separate requests for the…
Tom
  • 30,090
  • 27
  • 90
  • 124
0
votes
2 answers

Does somebody know a module, which has a function that returns a kb/s downloadspeed?

Does somebody know a module, which has a function that returns ( for example for eth0 ) the download speed?
sid_com
  • 24,137
  • 26
  • 96
  • 187
-1
votes
1 answer

Logic to Calculate current Download speed

I have been trying to calculate the current download speed as the file is being downloaded (not average) using Python's requests module. Searched on google , but could not find a definite solution . What is the logic to calculate the download…
-2
votes
1 answer

Get download speed in python

OK, so I'm creating a little script that downloads video from a page and I can't get the download speed right. I know that download_speed = downloaded_file_size / (current_time - start_time) but i just can't get it right. What I'm doing…
TaoJS
  • 109
  • 1
  • 2
  • 13
-3
votes
1 answer

Handle the download of several tens of thousands files c#

I'm making a small software that download several tens of thousands files. It's not efficient at all for now because i download each file once by once and so it's very slow, and also lot of files are less than 100ko. Do you have any idea to improve…
kev.g
  • 361
  • 3
  • 15
1 2
3