Re: [core-dev] Percent of upload
Sam Berlin <[email protected]> Mon, 10 Jan 2005 19:08:20 -0500
| Newsgroups | gmane.network.gnutella.limewire.core.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Eugene, This is an interesting solution. If you'd like to code something up, we would consider adding it, provided it doesn't complicate too much of the code. Thanks, Sam On Jan 10, 2005, at 3:06 PM, Eugene Romanenko wrote: > Hello, > > Today I watch for upload process of a big file, and found that > LimeWire can't determine upload percent. Every time when peer download > next part of file percent count starts from zero. So, I can't > determine amount of bytes which peer downloaded. And can't estimate > amount of time needed for upload completion. > > But how we can determine which amount of data peer needs to complete > download? We can't rely on IP, peer can download part of file under > one IP, then drop connection, reconnect and continue download with > other IP. We can't rely on some kind of UID, as peer can download part > of file from one source and then continue from another. > > Solution - when peer requests file, it sets additional header field > which contain amount of bytes already downloaded. Then uploader adds > this amount to current upload and shows right percent. And user can > see estimated completion time. If header field not set, uploader > counts byte amount from zero (as it present for now). If peer download > from multiple hosts simultaneously, percent value may be not accurate > but still usable. > > If you find my proposal good, I can try implement it. > > > -- > Bye, > Eugene. http://eros2.by.ru > _______________________________________________ > core-dev mailing list > [email protected] > http://www.limewire.org/mailman/listinfo/core-dev > _______________________________________________ core-dev mailing list [email protected] http://www.limewire.org/mailman/listinfo/core-dev