Article View: news.software.nntp
Article #57362Re: yenc - has anybody else noticed this?
From: Curt Welch
Date: Mon, 18 Mar 2002 23:19
Date: Mon, 18 Mar 2002 23:19
73 lines
5495 bytes
5495 bytes
Nunya Biznis <not@liberty.to.tell> wrote: > Please elaborate on what you mean by "in the headers". > I don't see much advantage in adding new headers that > wouldn't be in the standard overview, since readers > wouldn't be able to see them without downloading the > message bodies. This is all stuff that has been covered multiple times in places like news.software.nntp and lately I've been talking about it on the yEnc mailing list as well. But again.... There's an NNTP command called HEAD which allows you to see all the headers without having to download the body. You do NOT want to force newsreaders to download a 800KB body just to find out it doesn't want the article nore do you you want to encourge newsreaders to download the body and then drop the connection after it sees a ybegin line and figures out it has no need for the rest of the body. Having this in XOVER headers I assumed to "correct" way to do it, but that's questionable. If you duplicate the information about the file in the headers of every part(which you must if newsreaders are going to try to deal correctly with lost posts and partial reposts), then the newsreader only has to do a HEAD command on one article out of each multipart series which it thinks it might be interested in. So for a 50 part post, you only need to do a HEAD command on a single post for that series. If you put the data into XOVER headers, then the same data will get downloaded 50 times for that 50 part post. If the data includes an MD5 (128 bits or 32 hex digits), and a filesize, 10 or so digits, and a Header: label and who knows how much other bytes of redundant information (many if you use MIME stype formats), it really better to have to download that 50 times in the XOVER data or once in a HEAD command? The answer to that will depend on the averge number of posts per set. And even though that can get high today, if reposts started to work better, you would see a lot of individual posts or posts with only 2 or 3 articles in the set, so forcing the newsreader to do HEAD commands on all these small repost sets might be unreasonable. But, I've suggested another option (I think it was on the yEnc list). Put part of the file hash into the XOVER data. For example, if you are using CRCs, just take the last 8 hex digits and put it in the subject. For example, you could do it by adding a token like this in the Subject - "yEnc:4AE8". This would mean that a newsreader looking for lost parts in a set of articles would only have to do the HEAD command on articles where those 4 digits matched the CRC of files it was trying to find missing segments in. I suspect that would cut down the number of HEAD commands a newsreader would have to do to something very managable. But, if you do want to put everything into XOVER, there's options for doing that. One is throw it all into the Subject (a lot of it is there already). But this would require defining a strict Subject: format and make Subjects even longer and harder to read than they already are. But if the format was a well defined standard, newsreaders could extract the stuff people didn't care about (like CRCs and file sizes accurate to the byte), and display the data in a different format so they didn't have to look at the very long and boring header). Another option is to kludge it into the Refereces: header by making the data look like fake message-IDs. Workable, but a real hack. Another option which the MIME guys like is to convince admins to add the MIME haders to XOVER. Most news servers had the ability to simply define extra headers that can be put into the XOVER data and the idea of making MIME headers a "standard" part of XOVER has been floating around. So the plan would be to define how to do usenet binaries in a MIME way, and get the headers into XOVER as a part of getting all MIME headers into XOVER. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20020318181949.333$Fq@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<us1c9ucatbi49fiq685eolg8jf73sjcta0@4ax.com> <3c98344b.1993605@news> <mgfc9uc7d9l0n2tprssu340g22r96uuseu@4ax.com> <20020318154507.410$TU@newsreader.com> <9hlc9u8ga789vu6hfcun0oln29ae6mck5m@4ax.com> <20020318160827.211$fq@newsreader.com> <ldmc9u48omjm6sf5vj9fn54c83tob9u69g@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <20020318181949.333$Fq@newsreader.com>
Subject: Re: yenc - has anybody else noticed this?
Date: Mon, 18 Mar 2002 23:19:49 +0000
From: curt@kcwc.com (Curt Welch)
References: <us1c9ucatbi49fiq685eolg8jf73sjcta0@4ax.com> <3c98344b.1993605@news> <mgfc9uc7d9l0n2tprssu340g22r96uuseu@4ax.com> <20020318154507.410$TU@newsreader.com> <9hlc9u8ga789vu6hfcun0oln29ae6mck5m@4ax.com> <20020318160827.211$fq@newsreader.com> <ldmc9u48omjm6sf5vj9fn54c83tob9u69g@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: alt.usenet.offline-reader.forte-agent,news.software.nntp
X-Trace: NewsReader.Com dz@9Fq@Ah2/ytQX627=FDd+,@FZC1Kpk0Y9Z9fMMJgjtOl4
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: 72