Article View: news.software.nntp
Article #63828Re: xBin (Power-Post 2003 - requesting input from authorities..)
From: Curt Welch
Date: Mon, 03 Feb 2003 18:37
Date: Mon, 03 Feb 2003 18:37
215 lines
13183 bytes
13183 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Curt Welch]: > > > > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > > > the rationale for adding the file sets in my draft was to support > > > complex MIME documents. > > > > [...] > > However, the idea of trying to supoprt MIME I think is going in the > > wrong direction. The more I work on this, the more it seems to me > > that xBin may migrate over time to a position below MIME. It might > > smiply transform (over a farily long time) the usenet transport into > > more of a flood-fill distributed filesystem. The MIME/text articles > > would then be transported by the lower level, unlimited file size, > > transport system. > > hmm. that's very radical. Yeah, it's nothing something I'm saying at this point we "should" do. It's like playing a chess game looking 20 moves ahead and seeing one of many possible outcomes that you would like to keep open as an option instead making moves now that will prevent us from ever getting there. > > So, like storing files on a disk, if you were to store a mime > > article in a disk file, you don't expect the file system to keep > > track of the fact that the MIME article has 4 file attachements in > > it and I think that's the level that xBin should stay at. It's > > just a specification for a Usent-like distributed file system > > where files are distrubted in the normal Usenet-like flood-fill > > system except everything is just a xBin file chunk. > > but that MIME document with the four attachments becomes _one_ file > from xBin's view. I don't think that's quite right. I want the > attachments to be "visible" as files which can be downloaded > independently using xBin mechanisms. Would it really be wise to build tar technology into a Unix filesystem so you could "cd file.tar" and access the files in the archive as if it was a normal directory? Or "cd message.mime" and do the same? That strikes me as poor layering decision. xBin it seems to me to be fitting in better with the "file system" paradigm than the "archive" or "message" paradigm. For small files where you want to mix files and commands in a normal "message", I see mime as a fine way to bundle the information together. But, once the creator of the message has made the decission to bundle the data that way, he is basically has defined the "unit" of what he is distributing over Usenet as a "message" and not "a file". Currently, Usenet only transports messages. So when we distribute files, we are forced to bundle the files inside messages. But for the large files, this is a very poor way to do things. xBin I think is about trying to support the concept of "file transport". Currenly the "files" will continue to be bundled inside messages because that's the only thing that works on Usenet right now. But I see xBin is the start of a "file" transport system, and not a "what file is inside this message" system. So moving the current ideas about "what is xBin" from a "file transport system" to a "MIME attachment documentation system" just seems to be the wrong dirrecton to me. > for MIME on Usenet, it may very > well happen that adding a new kind of message/external-body is better > method, though. that is: post the files independently, then post a > MIME document which refer to them using the external-body mechanism. Ah, you mentioned message/external-body in other messages but I didn't uderstand where you were going with that idea. I see now. Yes, that fits with my vision as well. If we add a "file transport" system top Usenet along-side the "message transport" system we already have, then supporting messages which have the power to reference files being transported fits nicely. When someone posts data to this "new usenet", they will have an option of how they want to do it. They can post a pure message which happens to include various attachments, they can post raw "files", or they can post a message which makes reference to the files. This new vision of usenet will support getting "files" or getting "messages" from the server. The poster will pick the option based on what best fits his application. "Messages", like now, makes the delivery an all or none thing. You get it all, or none of it. It is best used when the bundle of data is meaningless when separated. If you write a message and include small diagrams in jpg form, there's little point in allowing the components to separate. And becaue the overall size is still resonable (small enough to transer the entire package in seconds instead of minutes or hours), it works best when you bundle it as a message. If the total message becomes too large, or the attachments are very large, there would be a point where using the external-body would become reasonable. Even though the message and the attachment really need to be "together", there would be benifit to be able to fetch the message quickly, and then allow the large attachment to download separately in the background (or just not download it at all if the reader decides he is not interested in it). For very large files, the messages tend to become nothing more than "here's the file". So does the system even need to support a message or even a "subject" associated with the files? The idea of these files used to define "file sets" seems to have some very interesting potention. > btw, we could use that for file sets as well, but unfortunately, some > new XML format is probably considered a lot more sexy than MIME... Good point. We could use MIME messages to create the file-sets. It's a bit odd because the MIME message does so much more than list a list of "external bodies". But maybe because it fits in well with Usenet, we should think more about this. Ah, but because the MIME messages are not yet being transported as "xBin Files", we wouldn't get an xBin-ID for the message, so we wouldn't have have a single xBin-ID to define (and secure) the entire set. To make that work, we would have to crate the MIME message with all the externa-body componets, and then yEnc that into a Usenet message and give that message an xBin id. I guess that works, but it's odd. It's not so odd if all Usenet text messages one day migrate to being trasported as "files" on Usenet, but it's very odd if that were never to happen. That remines me of NeXT mail which decided to use tar to bundle the attachments and then uuencode the tar file in the body of the e-mail message to store all the "attachements". (a pre MIME solution). > representing complex MIME document is not top priority, so I'll just > keep it on the back burner. > while complete MIME integration may be too much, I don't think we > should go in the opposite direction. let's use the mechanisms MIME > offers when they fit. What is fine is the idea of trying to understand how MIME messages could be used to transport "file segments". Even if Usenet goes to a very different system for transporting file segments over time, there's nothing wrong with thinking about how these same entities could be trasported though e-mail. But I keep seeing these layering and compatibility problems popping up when we talk about mixing xBin and MIME messages ideas at the same level. If we have a plan for how to tranport a file segment as a MIME attachement, we can't use it now (I don't think at least), because there are no current MIME aware newsreaders (or general usenet binary tools) that will correctly decode a mime multipart message in this new format. If we use a MIME-like Content-SHA1-Hash header with the intent of moving to the correct "MIME" standard, where do we be put it if the aticle is in fact a single-article multipart/mixed message where the actual xBin data and the headers for the data are down in the body? It seems to me that the xBin hash data belongs in the article header, not in the body. But as a MIME header, it would belong down in the body. It can work to put it down in the body in the "MIME" way, but thigs get messy. I've looked at xBin not as a Usenet article format feature (even though that's where we are putting it now), but as a layer below (or to the side of), the current Usenet article. Once we start marking articles with xBin-IDs, Usenet can be looked at as if were now transporting two different entities. Articles without xBin ids are seen as normal Usenet articles. Articles with xBin-IDs are now something "new". What I see that "new entity" as being is simply "a file segment". In fact, what it is for now is "an article holding a file segment encoded in one of many messy and incompatable ways". My path for the future is to remove the "an article holding a file segment encoded in one of many messy ways", from the above. That's historic Usenet crap that we are trying to eliminate with xBin. Binary usenet will work better if it can transport files directly, instead of transporting files hidden in one of many messy and poorly defined ways inside of text messages. If xBin is in wide use, and we start to look at options for transporting xBin _files_ between usenet servers using an enhanced feed protocol, what will that look like? How will that work? For one, it's going to be pure binary for sure. There's just no reason not to do that. But there is extra meta-data that needs transport as well (the SHA1-Tree for one). But for Usenet to work, we still need tracablility of the data, so the Path: is still needed. And I don't see much justification for not continuing to support a full Usenet article with "normal" semantics for the headers as well. I think what will mostly change is the semantic "meaning" of the body. These articles I think will only be able to hold the raw binary data segement in their logical "body". No extra meta-data, or comments or anything will be in the body. This could, I guess, work just like HTTP where it's got a mostly MIME-like header, with nothing but pure binary in the body. The Content-Length: header would be required (because unlike HTTP, you never want to close the connection to signal the end of the data). In this context, using a MIME Content-SHA1-Tree type of header would fit fine. But does it fit ok in today's usenet? I'm still trying to get a grip on all this.... > > This I guess would make it hard to deal with this data with > > external applications, > > yes. > > > but is there any design that would allow exteranal applications to > > deal with it? I'm guessing all the segment meta-data would have > > to be encoded inside the content with the file segment data before > > external MIME applications could work with it correctly (like they > > have done with PAR files and rar files etc). > > exactly. that's the idea of (my proposed) message/fragment, it > contains a set of headers describing the contents internally. Internal to the Usenet article or internal to the MIME content? I was talking about internal to the mime content. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20030203133733.780$LT@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-mailReferences:
<u7391vole7cci3qlobpvq0u79dqkiuoufm@news.iplweb.org> <2bi91vg80cfhrc1vu78r8226o241ngmid7@news.iplweb.org> <D937CC94FFD1B06B.2262204BE93E08E7.8BD8BA8158F689AA@lp.airnews.net> <3o9b1vglqbf4sm72efks2ivgd7u5tqn7mr@news.iplweb.org> <1041671876.599031@ok-corral.gunslinger.net> <11ud1v47mk49997bgnnnun1d57mi52f0pk@news.iplweb.org> <20030104113637.385$sm@newsreader.com> <6hqq1vk3dc5i0lbk65r761hr3jetalt9ap@news.iplweb.org> <20030115124728.470$XM@newsreader.com> <59369.i13205@archiver.winews.net> <20030119214844.592$sv@newsreader.com> <GJLW9.736995$vi4.98872@post-02.news.easynews.com> <20030121093654.179$lk@newsreader.com> <01547.m13203@archiver.winews.net> <20030131144349.699$7I@newsreader.com> <1rsmv9t6zy.fsf@vingodur.ifi.uio.no> <20030202005049.512$iG@newsreader.com> <1r8ywxtovt.fsf@vingodur.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <20030203133733.780$LT@newsreader.com>
Subject: Re: xBin (Power-Post 2003 - requesting input from authorities..)
Date: Mon, 03 Feb 2003 18:37:33 +0000
From: curt@kcwc.com (Curt Welch)
References: <u7391vole7cci3qlobpvq0u79dqkiuoufm@news.iplweb.org> <2bi91vg80cfhrc1vu78r8226o241ngmid7@news.iplweb.org> <D937CC94FFD1B06B.2262204BE93E08E7.8BD8BA8158F689AA@lp.airnews.net> <3o9b1vglqbf4sm72efks2ivgd7u5tqn7mr@news.iplweb.org> <1041671876.599031@ok-corral.gunslinger.net> <11ud1v47mk49997bgnnnun1d57mi52f0pk@news.iplweb.org> <20030104113637.385$sm@newsreader.com> <6hqq1vk3dc5i0lbk65r761hr3jetalt9ap@news.iplweb.org> <20030115124728.470$XM@newsreader.com> <59369.i13205@archiver.winews.net> <20030119214844.592$sv@newsreader.com> <GJLW9.736995$vi4.98872@post-02.news.easynews.com> <20030121093654.179$lk@newsreader.com> <01547.m13203@archiver.winews.net> <20030131144349.699$7I@newsreader.com> <1rsmv9t6zy.fsf@vingodur.ifi.uio.no> <20030202005049.512$iG@newsreader.com> <1r8ywxtovt.fsf@vingodur.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!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 7mHqx61QlBnLb3bJIFJqppEOi79@v4Jlb./_w8__EqOAhNq
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: 214