Article View: news.software.nntp
Article #61080Re: [FNTP] 'in-completeness'
From: Curt Welch
Date: Sat, 05 Oct 2002 22:39
Date: Sat, 05 Oct 2002 22:39
315 lines
17699 bytes
17699 bytes
Russ Allbery <rra@stanford.edu> wrote: > Curt Welch <curt@kcwc.com> writes: > > > That may be so. But the current mess we have with sites trying to > > filter large binaries by filtering on articles size is giving the users > > the completely wrong message. It's trainging them that posting in > > large part sizes is "bad", and posting in smaller part sizes is "good". > > Yes, I agree. In fact, I consider the social problems, like that one, to > be the truly significant problem, not the technical problems. > > Here's what was occuring to me last night: Some providers are already > decoding binaries for their users and making them available in decoded > form. This is additional evidence that NNTP actually sucks for doing > what people are doing with NNTP. Now, suppose you're an ISP who wants to > carry a full binary feed, and you already peer with a few other sites > that also want to do that. > > One of those sites comes to you and says "Look. We can keep feeding you > encoded binaries in tons of separate parts, or, since we decode those > binaries for our users anyway, we'll decode all the locally posted > binaries, convert those files into MIME-encoded files using the 'binary' > CTE, and put them in dated and timestamped files in a directory. We'll > then give the IP addresses of your choice access to download from that > directory. Feel free to run wget or or rsync or something, and then > re-encode the binaries for your local readers if you want or just put > them directly into your decoded binary interface." > > What would you do? I'm an NSP. I have to have the orginal articles because I provide access to those. There's not much to be gained by having to transfer the orginal article, and then transfer a decoded version as well. That just doubles my incoming bandwidth. And I wouldn't trust that the person I sucked the articles from decoded them correctly anywhow. And for leagl reason, I need the orginal articles to help establish the content isn't "mine" and to document where the content came from. If usenet in general was changed so it move binary files instead of articles, then all I need is what is transmitted to me from my peers. Also, sucking sucks. Feeders work much better if they have the option of sending out N copies of the article to their peers at the same time so the article doesn't have to be read from disk (it's in the memory cache). When your peers suck from you, you loose the timing advantage and the locality of cach savings, so it ends up being much more disk I/O intensive to do the same amount of peering. On top of that, if I'm having problem delivering content to my peers, I can turn off a feed or reduce it in size. When people suck from you, it's very hard to control how much load they put on your servers. Yo uwould be forced to just block them completely (or spend a lot of time devloping a new NNTP replacement protocol with lots of built in fetures that allow you to control how fast the peers can "suck" from you, etc.). > Suppose that most of the large sites originating binaries started doing > that. > > Now, throw this in: Users aren't *really* thrilled with posting binaries > themselves. It's better with yEnc than with uuencoded posts, but it's > still a real pain to upload all that stuff through a slow connection, > particularly if their connection dies or stalls and they have to restart. > > So suppose one offers a service like this: They can post the text > portion of the post with a marker in the body with the file name that > they want to insert, and it goes into a hold queue. Then they can upload > the binaries into a personal FTP area, using a regular FTP client with > resuming of upload and all of the other nice features of FTP, without > having to do any encoding at all. The ISP then takes the binary and the > text portion and puts it together, encodes it however, and posts it for > them. I already offer that service though HTTP. You type in the text, you upload the binary (in binary), and only after the entire binary is uploaded, my server spits out the multipart articles (complete with the correct size calculating algorithm which keeps all the parts the same size). HTTP offers no resume-upload features, and the function is limited in how large an article can be posted (30MB), so it's not a great solution. But it's something anyone can do now. With the help of a better PC client, this type of technique would work very nicely. It could easilly be added to NNTP as well and probably should be. > Now combine the two ideas. > > Before long, you've got a mechanism for distributing binaries that works > a lot better than Usenet. Well, this is what I've been trying to make happen. I want the news servers to have a standard way of moving binary files (and for the servers to "know" they are moving a binary file). I don't think however that moving them as one large binary file over a TCP connection is the best way to do it. That won't work until we get a large subset of Usenet converted to a new transport system. So we need to find a way to migrate the current system (being as backwards compatible as possible), to the new system, where news servers are moving files, and not just articles that happen to have files hidden in them. Right now, there is no "correct way" to turn multipart posts into binary. It's impossible to convert a usenet post, into binary, then convert back to "usenet article" without lossing important information. But, if we can get to a "real" standard for moving files of usenet, this might be possible down the road. > People upload the files via FTP. Sites > exchange the files via rsync or wget or some other mirroring protocol, > which is considerably more efficient than NNTP in every way. The push system of Usenet is hard to beat. Unless you are doing a suck-and-cache-on-demand proxy system, sucking sucks. And with the conversion to yEnc, you can't even argue the overhead issue of uuencode anymore. > If they > want, they recode the articles into base64 or yEnc or whatever and dump > the articles into their local spool, but many sites will then just make > the binaries available to their customers to download via HTTP. Yeah, one day, it might be neat to be able to do that. But we are just no where near that yet because of how much of a mess we have when it comes to how binary files are encoded on usenet. > Now, I don't think this will ever happen, but that's not for technical > reasons. I don't think it will ever happen because the levels of > indirection and nonsense that happen with binaries over NNTP right now > give providers plausible deniability when it comes to DMCA complaints and > similar issues, and I think sites would be worried about putting up > something like the above because it would make it entirely obvious > exactly what they were doing. Yeah, how things work now, that's important. You need to deliver what the user created, without editing it. A "smart" decoding tool that translates the posts into binary and stips out the references to the orginal post is a legally dangerous thing. Usenet web file extraction sites have been suied by spammers (and the spammer won) for extrating the jpg from a usenet article and not including the rest of the text (site name and URL for spammers site) as well. But, if we can first get the servers to know in some standard fashion that they are moving binaries, then we are one step closer to where the text and the binary go hand and hand, and the server will have the power to translate the binary to alternate encodings (or to pure binary) without it lookig like "editing content". > Again, I don't do the large volume binary thing, so I may well be missing > something. I'm very interested in being told where I'm full of shit. :) Well, I think the suck system just won't work. The push system works beter both technically, and socially. > Filtering by article size does not control volume. That's the > fundamental problem. You can filter out everything larger than 1MB and > still end up receiving almost all of the articles that you'd receive with > an unlimited article size, from the statistics that I've heard (although > I don't have them at my fingertips, so I could be surprised). There's not much volume over 1MB. Doesn't INN still come with a 1MB size limit out of the box? But there's lots of volume in the 500 to 1MB range and filtering around there will cut volume substantially. It just sucks however because you end up cuting out stuff you would like to carry (like a 800 MB single part post), and lossing stuff you don't want (like a 1000 part warez post). > You have to filter by stuff like whether the article "looks" like a > multipart and then your guesses about how big the combined size would be, > and that's a complete mess. right. It's a mess. But I think it's a mess that we might be able to clean up because the cleaned up version I think can be a win for everyone. > Don't get me wrong; I'd love to see that. I'd happily make use of that. > But I think it's an ugly hack to put meta-information into the message > ID, Yeah, that's a valid point. But it's not "that" ugly if the intent is to make Usenet transport files and not just articles. My idea is to move from just labeling the binary files with special IDs to moving to a system where, for those types of articles, the usenet servers will have the "right" to transform those articles, and store those articles, anyway they see fit. I see this headding to a time where Usenet is transporting two very different types of things. They transport normal articles (like they do today), and they transport file segments. The file segments are identified to the usenet servers by their unique ID (which is the hash of the data), their full size, and the offset/size of the segment. These special "file segments" will have a header which is bascially the same as current articles, but the body is simply the data for the segment - nothing else. How that's encoding now will be with things like yEnc. But over time, I think we are likely to migrate to something very different. NNTP will be extended to allow posting theise "file segments" is a very different way then articles work now. You will upload headers, and then the data, and the server will do the encoding for you. On download, these segments will look very different as well. They won't be mixed in the XOVER data for normal articles (expect for the backward compatable clients), they will be listed is a special Segment overview list where everything is already nicely sorted by the file hash for the client. It just lists the file hash, and the data ranges available for download. And there will be special download commands added to NNTP where you ask not for a segment as posted, but you simply ask for the the data range you want... GETDATA <file-hash> [<offset> [<size>]] Which allows you to download in pure binary any part of the file. The news server will know how to combine and decode the actual "articles" it has on file for that file so the offset and size arguments you give it don't have to allign with actualy file segments. And because you can specify the offset, that gives you the natural resume-download feature. If you leave the <size> argument off, it downalds the entire file starting at the offset. A missing <offset> would mean 0, or start from the beginning of the file. All this is possible once the news servers start to "know" they are transporting files instead of just files hidden in articles. And I think this message-id hack, is the right way to get is headed to this new system. > and I'm also very skeptical that this will actually work. The trick is finding a way to "bait" all of usenet into changing. > The problem is that it strikes me as an equivalent or only a little bit > less work than the system that I describe up above, since there's going > to be a lot more resistance since it isn't as convenient for the users > and they have to update their autoposting software, and just doing > something like I describe above *really* solves the problem and would > make *everyone* happier. I don't think it does. The message-Id stuff I think has a chance of making it into usenet if done correctly because we can start with stuff that's easy to add to existing software (5 lines of code type changes - where they simply generate message-ids that document what's being posted using this new convention). If someone creates some nice tools that take advanatage of the new ids, then that will motivate people to use the id-s more. The big thing they can allow is the abilty for third parties to do partal reposts and for everyone to take advantage of that. Also, most download tools (I belive) dont' work at all right now if the complete multipart post isn't on the server (or on a set of servers) for download. They just don't have the power to download a few pieces today and then start to watch for the rest to show up later. With this new technology, a user can see a single part (say part 54 or 54) of a post and think - "hey I want that file". He could then mark that single part for download and tell his download tool to keep an eye out for the rest of the parts. And it would be able to grab the parts no matter who posted them, or what group they were posted in, or what the subject was, or what the file name was, or what the size of the parts were. Nothing that I know of does that now. I think a lot of uses would get very excited by this technology and if the correct download tools were available for free, then it would spread quicker then yEnc though Usenet. And as a side effect, we would be one step closer to the time where usenet servers were transporting file-segments differently from how they transported articles. > Not unless you're going to force text posters to use this convention too, > you can't. And that requires changing a heck of a lot of software. I was only talking about binary posts over 10K. You don't want the text posters to do that becaus they will stay like they are. > No, we've got a horribly hacked-up solution that allows you to "resume" > Calling that "fixed" even with the quotes is quite a stretch. True. :) How about """fixed""". (do I look like Joey?) > > If you write to temp files, it will work, but if you work with articles > > that are on average 10 times larger, you will need 10 times more memory > > in your cache to get the same performance. > > For what? For transit. > I don't see how this is relevant at all to a reader server. Yeah, I'm thinking transit issues mostly when I talk about these cache issues. But that's also because this entire thread was strated on the problem of "lost articles", and no one I know of has problems loosing articles between their transit servers and their reader boxes. > And seriously, for a high-end operation, it's not *that* relatively > expensive to just put 10GB of RAM in your transit server. Given that I > could consider doing that, and I have practically *no* budget for news, > it would surprise me if that would be a serious issue for a site devoted > to news (although I know Usenet sites are often run on much more of a > shoestring budget than I'd expect). There's not a lot of money in "usenet" no matter how you slice it up. :) > But the whole thing overall strikes me as such a waste. We are talking about Usenet after all. :) > There are so > many better ways to engineer something like this than the God-awful hacks > we're running over NNTP right now. A big part of the problem is not just finding a better way to do something but finding a workable path to get from here to there. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20021005183917.837$Qo@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!logbridge.uoregon.edu!snoopy.risq.qc.ca!ps01-chi1!rip!news.webusenet.com!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <ylofabv431.fsf@windlord.stanford.edu> <4319b.4a2200@archiver.winews.net> <ylzntuxir5.fsf@windlord.stanford.edu> <041020021438385411%planb@newsreaders.com> <yl7kgyrpwd.fsf@windlord.stanford.edu> <041020021954536744%planb@newsreaders.com> <ylwuoxhhhx.fsf@windlord.stanford.edu> <20021005022430.397$TR@newsreader.com> <yld6qpv0rd.fsf@windlord.stanford.edu> <20021005043816.517$kr@newsreader.com> <yld6qosu9b.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <20021005183917.837$Qo@newsreader.com>
Subject: Re: [FNTP] 'in-completeness'
Date: Sat, 05 Oct 2002 22:39:17 +0000
From: curt@kcwc.com (Curt Welch)
References: <58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <ylofabv431.fsf@windlord.stanford.edu> <4319b.4a2200@archiver.winews.net> <ylzntuxir5.fsf@windlord.stanford.edu> <041020021438385411%planb@newsreaders.com> <yl7kgyrpwd.fsf@windlord.stanford.edu> <041020021954536744%planb@newsreaders.com> <ylwuoxhhhx.fsf@windlord.stanford.edu> <20021005022430.397$TR@newsreader.com> <yld6qpv0rd.fsf@windlord.stanford.edu> <20021005043816.517$kr@newsreader.com> <yld6qosu9b.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!logbridge.uoregon.edu!snoopy.risq.qc.ca!ps01-chi1!rip!news.webusenet.com!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com DNpcM+LF=Wo8/I=2a5kQcZDCw3ehvdzrmDrzSzWPe1Sfp,
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: 314