🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62648

Re: Power-Post 2003 - requesting input from authorities..

#62648
From: Curt Welch
Date: Wed, 01 Jan 2003 23:39
114 lines
7525 bytes
Russ Allbery <rra@stanford.edu> wrote:
> I think a cleaner way of handling this may be to figure out the right way
> to support articles of unlimited size, without running into the problems
> that Curt refers to when it comes to server assumptions.

The trick here is to figure out a path through the swamp from where we are
now to where we want to go.  I see xBin as a very viable option for that
path.  It will take us to where we want to be.

We don't really need (or want) a way to transport huge articles.  There's
no need for text articles to be over 1MB in size.  I see no value in
wrapping DVDs in MIME format text articles and then creating a complex
system for news servers to split up huge text articles and put them back
together at the other side.

What I see value in is a way for news servers to transport huge files along
side the system which has always worked fine for transporting text
articles.

xBin is the start of the transformation from Usenet knowing how to
transport only one thing (text articles) to it being able to transport two
things (text articles, and binary data files).

xBin is the new "message-id" for data files, which already addresses the
need for spliting the file up for transport.  xBin is the "file segment"
ID, which a binary usenet transport system needs.

We talk a lot about how usenet wasn't designed for transporting binary
files.  It's designed for, and works well at, transporting text messages.
So why talk about breaking the system for transporting text so it works
better for transporting binaries?  Lets move the binaries out-of-band from
the text.

The goal of xBin is to acuratlly mark _every_ binary article on Usenet so
the servers can tell which are text files, and which are the binary files.

If we get to the point that a large percentage of the binary files are
being correctly labled, then we can fix the transport problems by setting
up alternate systems for moving the binary files.  For starters, it will be
trivial to set up alternate feeds to move the binary files out-of-band from
the text.  Right now, we can't acurattly even do that (well, Diablo I think
can do it, but it had to work hard to scan the aritcle and decide what it
is (is that =ybegin line a text message or is this a binary?).

We have talked about a lot of possible things that could be done with the
binary posts differently from the text, like fetch on demand through the
path, or fetch from the source server, or transport in pure binary, or
split and re-combine based on the transit needs, or fetch missing parts on
demand.  All this is very very hard to do when the data is hidden inside a
text article. But all if that is very very simple when you switch to a
system which is transporting files instead of articles.

So all these ideas first require us to split the binary articles from the
text articles, and to convert Usenet to a system where the binary posts are
not seen as text files, but instead are seen simply as binary files.

xBin allows is to make that split, and it gives the users a reason to help
us do it.

I see this taking us to a day where the binary files get transported
complety differently from the text.  The text will continue to work as it
does now, and there will be no need for a major re-write of all NNTP
servers to support some strange auto-split feature which is close to
impossible to support for text articles which by design are not
byte-for-byte identical from server to server.

I see us creating special usenet-binary transport servers which though may
work something like standard NNTP servers, are instead designed from the
ground up to only transport files.  When they receive file fragments, they
don't index it by newsgroup, it stores it with the rest of the fragments
the server already has in it's spool for the same file.  It will support a
protocol where you ask it about files (what fragments do you have for file
XYZ? (where XYZ is the xBin hash for the file), and you can download from
it any byte-range of the file you want which it has in it's spool.  This is
the natural way to support resumable downloads and works fine for a fixed
byte-for-byte "file" concept but has issues when you talk about "articles"
which are different from server to server.

For example, if you had a feature to allow you to download a byte range of
an article, and you downloaded half an article before you got disconnected,
and when you try to restart the download, you find the aritcle has expired.
Can you now go to a different server and finish the download?  What hapens
if CRs and LFs had been transformed somewhere in transport so the files
aren't the same size on both servers?  You won't be able to use a second
server to get the second half of the article.

But, the "file servers" are designed from the ground up to transport
"files" which are byte for byte identical everywhere in the world (and the
xBin signature allows you to prove that any partial set of bytes you get
for a file are in fact part of that file and are not a fake, and are not
corrupted).  So, if you couldn't finsish your download on server X, but
server Y still had the file, your download tool could automatically finish
it there.

And if a server has most of a file by is missing 1000 bytes out of the
middle, it knows how to ask for the missing from data from all other
servers without some stupid (next/prev message-id hack). It just says do
you have buytes 10,000 though 10,999 of file XYZ where XYZ is the hash for
the file.

You can make usenet articles look like and work like unchangeable files,
and then add partial transfer commands to NNTP, but that's a hell of a
conversion to make happen to Usenet.  Or, you could leave usenet alone, and
move the files to a system that works even better, but yet is closely tied
to Usenet.

But how do you get everyone to swtich?  xBin. It gives us a path to follow
from where we are now, to where we want to be, and every step along the way
helps everyone.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030101183958.684$8h@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!cyclone.bc.net!newsfeed.telusplanet.net!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <1BE34317124A8BE0.7943779E42D2E55B.50557AE83F0515DF@lp.airnews.net> <yw73wdhe9p2r$.dlg@meowing.net> <1rhecsa6zr.fsf@thrir.ifi.uio.no> <14dfgjkm6p6u3.dlg@meowing.net> <1rznqk8qqs.fsf@thrir.ifi.uio.no> <ylk7hopk7n.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <20030101183958.684$8h@newsreader.com>
Subject: Re: Power-Post 2003 - requesting input from authorities..
Date: Wed, 01 Jan 2003 23:39:58 +0000
From: curt@kcwc.com (Curt Welch)
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <1BE34317124A8BE0.7943779E42D2E55B.50557AE83F0515DF@lp.airnews.net> <yw73wdhe9p2r$.dlg@meowing.net> <1rhecsa6zr.fsf@thrir.ifi.uio.no> <14dfgjkm6p6u3.dlg@meowing.net> <1rznqk8qqs.fsf@thrir.ifi.uio.no> <ylk7hopk7n.fsf@windlord.stanford.edu>
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!cyclone.bc.net!newsfeed.telusplanet.net!rip!news.webusenet.com!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 zcgx0rLrnrKh@v,TekAPoIBl,VAq.YXPV4chCLXZ8K=BZ=-n1r
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: 113