• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do i code to find Download & Upload speed ?  RSS feed

 
Mahesh Suryawanshi
Greenhorn
Posts: 22
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Folks,

I want to find the download & upload speed.

Expected Output be like:

Download Speed : 8.38Mbps
Upload Speed : 4.24Mbps

Please provide any suggestion to code this requirement.

Thank you
 
Henry Wong
author
Sheriff
Posts: 23280
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

There are already services that does this for you -- so, this will be a lot of work for something that already exists... but to answer your question, you will have to write code to measure it, which means...

1. You will need a server with really good upload/download speed. Arguably, ridiculously good upload/download speed. It needs to be much faster than your clients, or you will be measuring the speed of the server (and not the client).

2. You need to take lots of measurements -- so, this will take a lot of time. Additionally, you will need a good understanding of statistics too (which is true when you want to have valid data of anything that is measured).

... and ...

3. The process itself is simply sending lots and lots of data. There will be time stamps in this data. And it is simply a matter of looking at the time stamps as you are counting the amount of data. This needs to be done in both directions obviously. 

Henry
 
Mahesh Suryawanshi
Greenhorn
Posts: 22
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry Wong wrote:
There are already services that does this for you -- so, this will be a lot of work for something that already exists... but to answer your question, you will have to write code to measure it, which means...

1. You will need a server with really good upload/download speed. Arguably, ridiculously good upload/download speed. It needs to be much faster than your clients, or you will be measuring the speed of the server (and not the client).

2. You need to take lots of measurements -- so, this will take a lot of time. Additionally, you will need a good understanding of statistics too (which is true when you want to have valid data of anything that is measured).

... and ...

3. The process itself is simply sending lots and lots of data. There will be time stamps in this data. And it is simply a matter of looking at the time stamps as you are counting the amount of data. This needs to be done in both directions obviously. 

Henry


Thank you for the reply.

Can you tell me the services that are available?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!