Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Best way to guestimate upstream bitrate?  RSS feed

 
Yhon Smith
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy,

I'm writing a little client side app which uploads things using http streams to remove servers, i've included a progress bar to provide the user with an estimate of completion. Currently the program sends a small file to a remote server and calculates the upstream bitrate based on the filesize/total transfer time. I'm wondering if there is a more elegant way to do this? Any thoughts/tips?

Thanks
 
Duc Vo
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about:


(just added step 6)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!