Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java program to measure actual available bandwidth of my internet connection

 
Akon Dev
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a java program to measure actual available bandwidth of my internet connection.

The general samples available download/upload a file. Later the file size is divided by the time taken for download/upload. I need alternate ways of measuring other than this.

Please respond with any ideas on this. Thanks in advance.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since a download involves only a single Thread doing packet at a time, the rate is no where near your full bandwidth. I suspect a BitTorrent download, involving multiple threads would come closer.

What kind of connection do you have? My cable modem can report total number of bytes sent/received, which would be more useful than the file size.

Bill
 
Akon Dev
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
William, Thanks for the reply. Actually, I am not opting for dowload/upload of file or torrent. I am looking for ways other than this.

I have a broadband connection. I need a prgramatic way to measure the actual available bandwidth of my internet connection at a point of time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic