Better algorithm for estimating download time

Posted by Scott Smith on Stack Overflow See other posts from Stack Overflow or by Scott Smith
Published on 2010-03-13T22:50:32Z Indexed on 2010/03/13 22:55 UTC
Read the original article Hit count: 262

Filed under:
|
|

We've all seen the download time running estimate that initially says something like "7 days", but keeps dropping wildly (e.g. "23 hours", "45 minutes", "1 min. 50 sec", etc) with each successive estimation as the chunks are downloaded.

To avoid these initial (alarming) estimates, there are techniques one could try like suppressing display of the first n estimates, or waiting for the delta between estimates to drop below some threshold before you start displaying them, but these don't seem like a general, robust solution. There are corner cases involving too few samples, or samples that actually are wildly varying...

I think I recall a general solution for this kind of thing in mathematics (statistics?) that reduced or eliminated these wild values.

Does anyone know?

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about statistics