Re-using existing file lists before downloading
Moderator: Moderators
Re-using existing file lists before downloading
I've not found an significant topic about this, so i made a new thread.
Well it's about (re)using file lists before downloading.
For example if i already have a recent file list from a guy that DC++ founds as an alternate source, i wish DC++ first use that "fresh" file list instead of downloading it once again.
Because when you download a file (or files) that has a large number of sources, and you already have almost all file lists of the sources, DC++ downloads them ALL once again, even if they're recent enough...
Of course if DC++ gets the errors "file doesnt exists" because i.e. the file list is too old and the file doesn't exist anymore in the correct directory (for example), it will download once again the list, to fresh it.
But only in this case.
I hope i've been enough comprehensible...
Well it's about (re)using file lists before downloading.
For example if i already have a recent file list from a guy that DC++ founds as an alternate source, i wish DC++ first use that "fresh" file list instead of downloading it once again.
Because when you download a file (or files) that has a large number of sources, and you already have almost all file lists of the sources, DC++ downloads them ALL once again, even if they're recent enough...
Of course if DC++ gets the errors "file doesnt exists" because i.e. the file list is too old and the file doesn't exist anymore in the correct directory (for example), it will download once again the list, to fresh it.
But only in this case.
I hope i've been enough comprehensible...
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
-
- Posts: 506
- Joined: 2003-01-03 07:33
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Refreshes happen hourly... what if he just reorganized his/her share?maxxyme wrote:Yes as Twink said, if the list has been downloaded within the same day (for example)
This seems to make the most sense, but you only know their share size after reading the list - and having ADLSearches can throw that number off. So you'd have to cache it somewhere.Twink wrote:then it could compare the users share size with the filelist?
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Making a connection to that user seems wasteful if you can achieve the same by caching... I could be wrong, or overly influenced by the negative aspeccts of certain CDMs (BlackDC) that connect to get your PK, but immediately disconnect, which causes a large spike in threadcount when you're on a hub where most people use such a client.Twink wrote:well what about the suggestion to check the size of the actual file list, surely they aren't likely to be the same.