Article View: news.software.nntp
Article #59853Re: How to post yEnc? PowerPost2000 no good??
From: Joe Greco
Date: Tue, 06 Aug 2002 02:10
Date: Tue, 06 Aug 2002 02:10
94 lines
5311 bytes
5311 bytes
In news.software.nntp article <aikkad$q9u$1@puck.litech.org>, jeff@litech.org (Jeffrey M. Vinocur) wrote: :- If a binary is posted with all parts the same size, then either : all of them will make it to the server, or none will. This : requires trivial effort from the posting software, and no : effort at all from the server. It may even be somewhat more than trivial effort from the posting software, but the key concept here is that it is better to have one machine (the source) pay the price and not have all the servers on the planet trying to duplicate the effort after the fact. The task of trying to track binary parts after the fact would be a HUGE computational challenge, and require VAST amounts of CPU time, compared to the relatively simple act of breaking it up up-front when the size is easy for the posting software to determine. The parts may not even be *exactly* the same size, but ideally you want to fluctuate by only a few bytes at the most (encoding noise). This is trivial to do, too (unlike having all the servers on the planet try to figure it out after the fact). That's why Numbnuts Helbing is getting the crap flamed out of him. The algorithm is simply: Get a desired part size from the user (let's say 500,000 bytes). Take the result data, that is, to say, the data in its encoded form, and look at its size (let's say this is 34,713,221 bytes). Divide the data size and divide by the part size (34,713,221 / 500,000 = 70, rounded up) Divide the data size by THAT number, which is 495,903. Post all parts using that size. If there's a leftover byte or two, shove it in the last part. Now, here's how this differs from what Numbnuts has blessed us with: If you do a simple-split into 500,000 byte chunks, you get 69 chunks of 500,000 bytes and a remaining last chunk of 213,221 bytes. MANY news admins tell their upstreams something like "Do not feed me posts larger than 250KB". For those sites, the site will receive the last part of the post, but none of the other parts, because of the size restriction. For those same sites, if the data had been equally split, no parts would show up - no waste. Now, perhaps this concept really _is_ as difficult to grasp as Numbnuts would have us believe, but I'm guessing that this is not the case. Now, looking at this from an efficiency point of view: For the news transit software, if the data is split into equal sizes, the decision to send is a simple integer numeric comparison. Your modern machine can do a billion of these every second, or thereabouts. All modern news software supports this. It requires a little extra work from the posting software and a few additions, divisions, etc on top of that. If we were to implement Helbing's Vision, it would require that each transit server build up correlations between articles and keep a complex database about what had and had not been seen. This is further complicated by the fact that many transit servers have small spools, and may not _ever_ have all the parts on the spool simultaneously - my own transit servers have perhaps 100GB of spool space, and so if one part arrives half a day late, our buddy Helbing would have me discard the post as incomplete, because by the time the straggler arrives, the others are gone already. But it makes it easier for the posting software. This is clearly a case where a little work up front is the best possible option. It makes things work right, it works with our existing software and infrastructure, and there's no reason that a NEWLY INTRODUCED protocol like yEnc couldn't have taken this into consideration. I have no problem with the idea of a new way to post binaries. I'm happy to give some good advice, as someone who's been doing this on a large scale for quite some time. But Helbing is doing more damage than good, because he's not receptive to feedback, and just Went And Did His Own Thing. Jeremy Nixon has tackled the problem and has reached some useful and interesting conclusions. ... JG
Technical Details
Message-ID:
<3d4f3026$0$1423$39de8f09@news.sol.net>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!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!newspump.sol.net!posts0.nwblwi.newsops.execpc.com!posts.news.sol.net!reader2-nwblwi.news.sol.net!not-for-mailReferences:
<Xns91D7CDE6B5B92Yournameemailcom@65.24.2.12> <3d49472b$0$1421$39de8f09@news.sol.net> <3hfrkuc774pd7jg1hncgm07okgigvd9tru@4ax.com> <aikkad$q9u$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <3d4f3026$0$1423$39de8f09@news.sol.net> Subject: Re: How to post yEnc? PowerPost2000 no good?? Date: Tue, 06 Aug 2002 02:10:46 +0000 From: jgreco@ns.sol.net (Joe Greco) References: <Xns91D7CDE6B5B92Yournameemailcom@65.24.2.12> <3d49472b$0$1421$39de8f09@news.sol.net> <3hfrkuc774pd7jg1hncgm07okgigvd9tru@4ax.com> <aikkad$q9u$1@puck.litech.org> 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!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!newspump.sol.net!posts0.nwblwi.newsops.execpc.com!posts.news.sol.net!reader2-nwblwi.news.sol.net!not-for-mail Newsgroups: news.software.nntp Organization: sol.net Network Services - Milwaukee, WI X-Newsreader: trn 4.0-test75 (Feb 13, 2001) Originator: jgreco@terminus.sol.net (Joe Greco) Lines: 93 NNTP-Posting-Host: 494fd52f.news.sol.net X-Trace: DXC=:\6Qn103oDX?B1XbCPNGk^i7>_KXZ:dKU6iKD3LkWifQOMkP0oa8;<X2Jm;HCLQb=S9TT7GkmlI3\l498O?iZ3gT X-Complaints-To: abuse@ns.sol.net