Ah OK Danek - I had not understood your earlier comment on timeline. This would be fine, if we are getting the amount of data retrieved after each time interval we can update the progress appropriately and would be a much better option than chunk size from a display standpoint as we'd always be updating at the same constant rate irrespective of network connection/ latencies. Thanks - now how to implement it?

JR


Danek Duvall wrote:
On Thu, Jul 31, 2008 at 01:29:11PM +0100, jmr wrote:

3. Provide Progress for a given File by chunk size.

Like K, I'm surprised to see this reappear.  Given that any chunk can take
a long time to download, the display has to be updated not based on how
many chunks have been retrieved, but by how much time has passed.  We can
retrieve the amount of data that has been retrieve at each time interval,
and display that in the progress meter.  That gives us arbitrarily fine
grain in terms of "chunk size", but gives us a consistently updating
display, without updating too quickly on a fast download, and updating too
slowly on a slow download.

Danek

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to