Article View: news.software.nntp
Article #63715Re: xBin and PARity files
From: Curt Welch
Date: Fri, 31 Jan 2003 01:25
Date: Fri, 31 Jan 2003 01:25
126 lines
7641 bytes
7641 bytes
I'm continuing to try and cacth up on old articles so excuse me if my comments out out-dated..... Rene <invalid@email.addr> wrote: > Thomas <zak@spam.invalid> wrote: > > As messages get lost individually, it makes sense to use the message > > size as the PAR block size. > > Not really, article sizes fluctuate, even within one posting run of a > file, if the use of the already posted "flattening" algorithm is > encouraged. > > Besides other people are able to fill in, using different article sizes. > But the size of the virtual segment *must* be fixed for a specific xBin > file-hash. There is no need to fix the size of the virtual segment. Why do you say it *must* be fixed? Why not specify it in the meta data so you can adjust it to correctly match the post you are trying to "fix". It can still be used to fix other posts which don't align with your virtual segment as you point out, but I see no reason not to allow it to be matched to the post. > > If articles sizes are different, just pad the short articles with 0's > > before generating the PAR data. But the length of the missing article > > should then be known somehow. > > At the end of the day, I don't want to fix articles, I want to fix the > blocks... Yes, I agree. But at the beginning of the day, the reason we post PAR files is to fix missing articles. So why not allow the poster to match the PAR virtual segments to the file he is trying to fix? > > I think that PAR can only work if postings are done in consistent > > sizes, with the last block not beaing exactly the right size. > > The last segment being smaller is ok. Others not, as far as the > RS-restoration algorithm goes. I've talked about how it will work with the leveling algorithm but I'll repeat just for the fun again. When we level the article size, the first N articles are one size, and the last M are another size. So you simply post PAR files which cover the first N, or the last M. That way, the PAR file is only having to deal with fixed sized virtual segments and we can still use the leveling algorithm. > > > Therefor, for the secure operation of xBin with parity, an xBin > > > compliant newsreader MUST check the hash tree after each attempt at > > > parity repair. That way, problems are detected and a corruption of > > > the file is not possible. > > > > I think that is the only solution. Not feasible to check on servers. > > No feasible check anywhere actually. All you can do is start a repair and > then check to see if that succeeded. > > > It is much more efficient - just like it would be more efficient to > > repost just article 3 of .r13, instead of the whole .r13 (something > > that xBin tries to fix, but we forget again with PAR). > > Well yes, sort of, but PAR's are more universal, since they fix gaps in > different positions for different users. But PARs don't replace reposts, > they complement reposts: "First create some PARs THEN fix individual > holes" > > > I hope you see that having each PAR part span more than a single > > article is inefficient. But the overall idea should work. Any idea on > > how much extra metadata would be involved? If it means the PAR file has > > to be split anyway, that would be bad news. > > Inefficient is the wrong word. I definitly see the advantage could a > par-file be just as big as an article. However, usenets completion isn't > as bad that every second post gets lost, is it? Ok, I might be spoiled, > for I use Curt's service but I don't think a run of say 30 consecutive > articles get lost too often. Add to that that PAR's are something you > selectively fish out if you need one. The beauty again is, that PAR's are > universal. You don't need P01 if you only have one gap. You just take any > one PAR-data which is fully available at your server(s). Well, the problem is that if you have large virutal segments then PAR files become to large to post as a single article. So then you have post a PAR file in N parts. And if you are posting PAR files, you already have the problem thar articles are getting lost, so when one of the N parts gets lost, the rest of the PAR articles for that N article set become useless and just more "wasted bandwidth". You realy want each PAR _article_ to be useful by itself so if you need 3 PARs for a segement, any 3 that make it though will solve your problem. > > means Curt's fear of endless automatic reposts (which I share) does not > > become true. > > Reposts should never occur automatically, using xBin. In fact, that's one > of the things that must be made clear in the specs. The problem remains > if we cut out PAR, its just the same with "normal reposts". Automatic > request sending, yes. Automatic request fullfilling, big no-no. That's not really what my fear is about. What I suspect is that someone will post a 1000 article file (girls gone wild), over a period of three weeks. Two weeks into this someone spots the post and starts to download it. But they already missed the first week (it has expired). Then, when the post is done, they ask if somebody can repost the first week of articles. Someone which downloaded it does this for them. (xBin makes reposts by anyone simple and secure). But someone else came into the post later and missed the second week but got the last week and the repost of the first week. So then they ask someone to repost the middle week. The guy that just asked for the repost of the first week feels he "ows" something to the net so now he helps out by reposting the middle week. This then just keeps going on, and on, and on, for a year or two. People keep catching on late that this post is "in progress" and keep asking for the same reposts week after week, after week. But since everyone that downloads has the power to repost, everyone keeps helping out the people that came after them so it's not like the orginal poster has to keep reposting anything. The fact that xBin makes reposts so simple means that everyone can help out a little simply by posting one article in the series. If there are tools for creating automatic repost requests, then this becomes even more likely. Not because the automated systems would flood usenet, but because a lot more people will probably be willing to help "a little" by sending out a single post. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20030130202544.827$sv@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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<20021230133312.202$K5@newsreader.com> <ix4Q9.2961$T41.7255@amstwist00> <20030103215719.700$Xm@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <20030130202544.827$sv@newsreader.com>
Subject: Re: xBin and PARity files
Date: Fri, 31 Jan 2003 01:25:44 +0000
From: curt@kcwc.com (Curt Welch)
References: <20021230133312.202$K5@newsreader.com> <ix4Q9.2961$T41.7255@amstwist00> <20030103215719.700$Xm@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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com Rj4y0nfvyjF.kO9c4Z5DJpig4HLRErv.281zfw8__W@wneVy
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: 125