🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62561

Re: Multi-part fakes: Questions

#62561
From: Rene
Date: Mon, 30 Dec 2002 01:32
77 lines
4784 bytes
Thomas <zak@spam.invalid> wrote:
> But why not post the RS data as required? It is called "Forward Error
> Correction' but there is no need for it to be posted in advance.

Yes it can be used afterwards, too. However, calculating the parity-data
takes some time. It is probably more convenient to just repost full
segments than to create some par files and sending them.

> That is the way it is now. From the outside, Usenet looks like a lossy
> medium. But it is not so much randomly lossy as capacity limited.

I honestly can't tell what the exact cause is of random drops within a
series of messages. I only see it now and then. But seeing that happen for
freshly incoming files, I'm tempted to believe that's due to capacity
problems of a link not of a disk.

> Pre-sending FEC data makes the loss problem worse.

It increases volume, yes.

> But reactively sending clever gap filling data is actually more efficient
> than plain reposts.
> BTW, is anything stopping people from posting a PAR set later, of a lot
> of repost requests come in?

No, nothing at all. You can even extend a par-set later, if your initial 5
parts were too few, you can generate additional ones (as long as you still
got the original file(s))

> I can imagine a simple repost format that posts XORs of blocks. The
> msg-id format could be similar, but it would be tagged as a XOR post of
> the relevant block ranges. Thus, if A is missing 20-30 of a 100 part
> post, and B is missing 60-70, the reposter could post the XOR of 20-30
> and 60-70. Both A and B could use this to reconstruct their data.

That's actually what RS-Parity does. You don't need to provide the missing
blocks, you need to provide one parity-file which is at least the size of
the gap (more or less, I'm deliberatly explaining it easier than it is) The
very same parity file fixes 20-30 in A and fixes 60-70 in B's data.

That is the beauty of the RS-Raid technology. The disadvantage is: It
requires quite some CPU time to compute the parity data or to fix data with
parity (its not too bad though, a 1ghz machine probably waits longer for
file io to complete) and its definitly far more difficult for a programmer
to implement (instead of a simple repost)

> Maybe a more clever scheme is possible that understands block ranges.
> Perhaps a msg-id that mentions a large block range, and offering the
> correction data for any N blocks in this.

A Parity file must always be as large as the largest file in the set
(looking at how it is used today in usenet) So if your file is splitted as
10x12MB files and one 15MB file, then all parity files will be 15MB in
size.

It will be a bit different in xBin though, for there are no file splits
anymore, only a single file. Still for the RS-Raid system to work, there
must be a blocksize of some sort.

> It is good to tie PAR into this somehow. The xBin reader tool could then
> auto-pickup the PAR parts as needed.

Yes, the Parity parts would be just another source like a repost/fill post,
etc. However for that to work, the parity parts must be connected to the
original file's file_hash, or the reader program wouldn't consider those
parts.

> Hopefully the transition from repost to PAR style functionality can be
> smooth (i.e. xBin 1.0 to 1.1).

Both can be implemented at the same time. And I rather see both in 1.0 than
creating the need for a 1.1 version.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Technical Details
Message-ID: <20021229203228.660$uD@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!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!news.stealth.net!news.stealth.net!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <92F1AA3EDidispcom@128.242.171.114> <05280.sc2200@archiver.winews.net> <92F2518A8idispcom@24.48.107.54> <2224g.sc2200@archiver.winews.net> <1041106321.245074@ok-corral.gunslinger.net> <3139b.tc2200@archiver.winews.net> <20021229094157.320$gK@newsreader.com> <KYDP9.2425$T41.6084@amstwist00> <20021229101118.836$SG@newsreader.com> <fLEP9.2465$T41.6114@amstwist00>

Show Full Headers
Complete Article Headers
Message-ID: <20021229203228.660$uD@newsreader.com>
Subject: Re: Multi-part fakes: Questions
Date: Mon, 30 Dec 2002 01:32:28 +0000
From: Rene <invalid@email.addr>
References: <92F1AA3EDidispcom@128.242.171.114> <05280.sc2200@archiver.winews.net> <92F2518A8idispcom@24.48.107.54> <2224g.sc2200@archiver.winews.net> <1041106321.245074@ok-corral.gunslinger.net> <3139b.tc2200@archiver.winews.net> <20021229094157.320$gK@newsreader.com> <KYDP9.2425$T41.6084@amstwist00> <20021229101118.836$SG@newsreader.com> <fLEP9.2465$T41.6114@amstwist00>
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!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!news.stealth.net!news.stealth.net!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com Subscriber
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com uoOJEr4L8_p@lek=egN=@gPjhuWH@gQP.r025b2haI3J/mS/
Lines: 76