Article View: news.software.nntp
Article #62794Re: xBin and PARity files
From: Curt Welch
Date: Sun, 05 Jan 2003 01:39
Date: Sun, 05 Jan 2003 01:39
54 lines
3794 bytes
3794 bytes
Rene <invalid@email.addr> wrote: > curt@kcwc.com (Curt Welch) wrote: > > Rene <invalid@email.addr> wrote: > > > > You said a lot I'd like to comment on, but I don't have the time at the > > moment.. > > Yeah it was the same for me the last 5 days or so. That's why I only > responded (and read) the first three or so answers to this thread yet. > Take your time, we have the priviledge that we don't need to meet a > deadline here :) Yeah, and now I'm making the mistake of replying to newer posts when I haven't read all the older ones yet... :) > > > Uh this adds a layer of complexity without giving much in return. > > > > It gives a huge return. It prevents you from having to scan a 10GB > > file to fix a single 500KB section which is missing. > > Yes that's right, but when we only lose 500KB in a 10GB posting, then I > think we can easily live with PAR files spanning more than one article :) It applies even more when you are missing more articles. What if you are missing 1000 articles from a 40,000 article post. You have to download 1000 par files, and then try to figure out which of the 1000 PAR files is the fake or corrupted article, then the amount of computation required to recreate even one block from one missing file means you are forced to scan 39,000 articles and 1,000 par files (though only the first hash block from each). If you have 1001 PAR files available and you think some combination might work, you will be forced to try 1000 different combinations to find one that works, and each different combination will require to to scan 40,000 hash blocks of data (though there might be an optimization possible there which would allow you to scan the data blocks only once). But, if each PAR file only coverd 100 articles, then the problem is broken into managable chunks. You might have 3 PAR files for the first 100 articles, and when you scan thouse and rebuild the 3 missing articles, you find they are vall valid, so you throw out those 3 PAR files and move on. So the download tool checkes each 100 article section at a time and can in the end fix 1000 missing articles without having to download and work with more than 5 PAR files at once. It's true that more PAR files may need to be posted when they scan smaller sections of the file, but I think the effect is minimal. From the download side, people won't have to download more PAR files to solve their own problems. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20030104203907.319$uc@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<20021230133312.202$K5@newsreader.com> <20021230171837.399$Im@newsreader.com> <20030103212914.998$3s@newsreader.com> <20030103233113.101$yk@newsreader.com> <20030104154509.722$C5@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <20030104203907.319$uc@newsreader.com>
Subject: Re: xBin and PARity files
Date: Sun, 05 Jan 2003 01:39:07 +0000
From: curt@kcwc.com (Curt Welch)
References: <20021230133312.202$K5@newsreader.com> <20021230171837.399$Im@newsreader.com> <20030103212914.998$3s@newsreader.com> <20030103233113.101$yk@newsreader.com> <20030104154509.722$C5@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com z.-ECNQLo7EOPKLT@Nx52Zx5N2mRHxHfD281zfw8__5STndQ5
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 53