Article View: news.software.nntp
Article #62744Re: Power-Post 2003 - requesting input from authorities..
From: Russ Allbery
Date: Sat, 04 Jan 2003 01:44
Date: Sat, 04 Jan 2003 01:44
114 lines
7289 bytes
7289 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> [Russ Allbery]:
>> One of the really useful bits of metadata that e-mail messages carry
>> that I would expect xBin to also be interested in is the Content-Type
>> header, which tells you what type of file you're dealing with. With
>> proper use of that header, you can make decisions like "I want all
>> images, but don't want any music files or videos." But if one moves
>> away from the e-mail format, where do you carry that information?
> feel free to add a Content-Type header to the message, I'd love to see
> that. xBin doesn't depend on it.
So... how are you not now just recreating a MIME message? Why not just
use MIME?
I mean, if you're reintroducing the idea of headers and metadata, you're
talking about something that carries at least as many headers as HTTP
traffic does, and HTTP uses MIME.
> you're right, this is a problem with the hypothetical NNTP FILE, but not
> a large one. FILE (in my mind) essentially collects all the articles,
> decodes them, and send the file data verbatim to the client.
Okay... now I'm really confused.
I posted a bit ago that I thought the right way of handling things is to
figure out how to deal with articles of unlimited size, with some sort of
chunked encoding for transfer, and you said that was a horrible idea (I
thought). Now you're describing xBin as essentially exactly that.
The only difference between what I was talking about and what you're
talking about seems to be that you're introducing a new NNTP command for
this purpose and I'd just reuse ARTICLE. Why not reuse ARTICLE?
> now, if it's a MIME file, the metadata is gone.
Not if you're adding Content-Type to the message....
>> That's not what message/partial does; message/partial treats the
>> message as an opaque chunk and just divides it like the Unix split
>> command, essentially.
> perfect. it's main problem is that it requires the use of BASE64, so
> it's not as bandwidth efficient as yEnc. big deal.
Well, message/partial also doesn't encode a file; it encodes a message
(which can have arbitrary nested structure). So it's inherently more
general.
The restriction to base64 is due to the requirement in e-mail to support
7-bit environments. One could easily define an equivalent to
message/partial that doesn't have that restriction for use in environments
where 8-bit support is assured.
That's not the real problem with message/partial. The real problem with
message/partial is that it makes the user agent do the reassembly. That
means that you can use message/partial without changing any of the e-mail
servers (which was the requirement that they were trying to meet). But
that's not the requirement we have; we want something that can be
reassembled by the *server* so that the client doesn't have to worry about
it, and you're already talking about changing NNTP to add a FILE command.
So given that, what I don't understand is why not approach this from the
perspective of finding a way to accomodate unlimited-length MIME messages
with server-side chunking and reassembly, generating new messages using an
"enclosing" MIME type analogous to message/partial that carry the metadata
like the checksum tree and xBin message IDs, that when reassembled yield a
regular Usenet message with an encoded binary embedded in it in the normal
fashion?
Curt seems to be going in a very different direction than what I'm getting
out of what you're writing.
>> I don't know of a good solution to this. I don't see xBin as a
>> solution; after all, if you want those larger articles, you'd then
>> have to use xBin to get them, which means you'd be getting a lot of
>> other binaries unless xBin has a really great traffic classification
>> system (and I don't see how you get that if you're just treating
>> everything as files).
> it's quite simple. the number of articles belonging to huge files
> outnumbers the small files. for each episode of Buffy (400 MiB), you
> get thousands of JPEGs. for each song by the Foo Fighters (10 MiB), you
> get hundreds. simply blocking the large or huge files at the CHECK
> stage helps a lot on the number of articles you need to consider -- you
> don't even have to write these rejected articles to your history. there
> is no need to filter on _article_ size, use whatever value is good for
> your system.
You're talking about essentially including the total article size in the
NNTP exchange so that articles above a certain total size can be rejected.
I agree with that goal; I think that would be very useful. But that isn't
what I was talking about above.
What I was talking about above was, as below, the case where I want the
1MB compile log but don't want the 200KB JPEG. xBin doesn't do anything
to help that situation. (And in fact, xBin without Content-Type makes
that situation *worse*, because now the protocol that is used to transfer
the binaries contains no information at all about what type of binaries
they are, whereas right now at least some binaries are sent using MIME or
one can make guesses from the file name.)
Although I agree, just getting rid of the *really* huge binaries would
make the whole problem simpler and would be an immediate win. That's a
lot of low-hanging fruit, so maybe I shouldn't be looking at the harder
problems yet.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylisx5y9h2.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!shelby.stanford.edu!not-for-mailReferences:
<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> <1rlm248lyi.fsf@thrir.ifi.uio.no> <yln0mko1gk.fsf@windlord.stanford.edu> <20030102003252.529$hA@newsreader.com> <ylof70m4sh.fsf@windlord.stanford.edu> <20030102232803.181$Go@newsreader.com> <ylptre223l.fsf@windlord.stanford.edu> <1risx6joso.fsf@ellifu.ifi.uio.no> <ylvg16gkp8.fsf@windlord.stanford.edu> <1rof6xiyow.fsf@ellifu.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <ylisx5y9h2.fsf@windlord.stanford.edu> Subject: Re: Power-Post 2003 - requesting input from authorities.. Date: Fri, 03 Jan 2003 17:44:41 -0800 From: Russ Allbery <rra@stanford.edu> 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> <1rlm248lyi.fsf@thrir.ifi.uio.no> <yln0mko1gk.fsf@windlord.stanford.edu> <20030102003252.529$hA@newsreader.com> <ylof70m4sh.fsf@windlord.stanford.edu> <20030102232803.181$Go@newsreader.com> <ylptre223l.fsf@windlord.stanford.edu> <1risx6joso.fsf@ellifu.ifi.uio.no> <ylvg16gkp8.fsf@windlord.stanford.edu> <1rof6xiyow.fsf@ellifu.ifi.uio.no> 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!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 113 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1041644681 1890 171.64.13.23 (4 Jan 2003 01:44:41 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, sparc-sun-solaris2.6) Cancel-Lock: sha1:nkHpUvuxB0PjUKUpueoSH6XI6bA=