Article View: news.software.nntp
Article #55945Binary Donor System (was Re: another idea for handling USENET binaries)
From: Frank Durda IV
Date: Sat, 05 Jan 2002 23:07
Date: Sat, 05 Jan 2002 23:07
379 lines
17235 bytes
17235 bytes
Andy Green <support@nographer.com> wrote: : (Dons asbestos underwear :) ) : : Why not auto-propogate ONLY Header-type information between servers? : The servers hold the headers and present them to clients in XOVER, etc, : as usual. : : If a client on a particular server requests an article body the server : walks the PATH in real time requesting the body from each server. If a : server has the body requesting server reads and caches it (incidentally : making it available to fulfil requests from other servers). Subsequent : client reads of that article body are fulfilled locally as usual without : fuss. ACK! You may not believe this, but I have been preparing an Internet-Draft on something alarmingly like this on and off for over a year. I was able to spend a lot of time on the technical paper in December and I'm about two weeks away from initial peer review (I've already picked some out, but volunteers are certainly accepted - send mail to ietfmail at the domain below to get on the list), then general public review as an Internet-Draft, the latter of which lasts six-months. Can you just hold that thought for a while? Or will the asbestos get too itchy? Personally, I've been building a lead bunker for the initial reaction my my proposal.) Of late, I was afraid that someone else would come up with something like this, considering the way that this particular discussion was headed, and here we are. I was hoping to announce the thing once fully complete, along with the patches to Diablo* to implement the added operations needed on a server site (regardless of what main news server they use), but I might as well spill some of the beans now. * With some minor changes, the header-only feed mechanism in Diablo appears to be convertable into exactly what is needed here. Diablo already has the "article types" filtering mechanisms, which fit right in with setting criteria for what propagates normally and what gets handled in the new way. Here are some excerpts of my Internet-Draft. (This is as it stands in the 2-Jan-2002 revision and I expect wording in these sections to change more before peer review begins as things are still a bit inconsistent from section to section and it hasn't been through the typo-checker lately): -------------------------------------------------------------------------- .sp .ti 0 2. Abstract The Binary Donor System is a refinement to the existing Network News Transfer Protocol (RFC 977[1]). This refinement restricts the actual propagation of some or all binary content via the NNTP protocol that originates at participating servers, while propagating references to that binary content which is stored only at the originating site. Using the propagated references, this binary content may then be freely obtained on demand by news-readers and other client software, from the originating site via the NNTP protocol, and optionally via alternate transmission protocols, such as HTTP and FTP. \|... snip .sp .ti 0 4. The Binary Donor System The Binary Donor System (BDS) is a strategy that allows individual users of USENET news to continue posting binary material with the reckless abandon typically seen today, yet the storage and bandwidth requirements of individual servers have the potential to fall to a fraction of their current levels. This will allow for longer retention times for articles without additional storage purchases as well as more reliable availability of these large-content (binary) postings. In effect, the Binary Donor System forces users of USENET news to utilize the Internet and its components more efficiently, without significantly changing which tools and applications they use. The presence of the Binary Donor System might even cause some users to return to FTP or other peer-to-peer systems for these large objects that are only of interest to a small number of other Internet users. \|... snip .sp .ti 0 4.4 Compliance Issues and Terminology \|... snip For the remainder of this memo, the term "originating server" describes a system or a collection of systems working as a unit that accept a USENET news article from a client newsreader via NNTP/NNRP protocol "POST" command. The "originating server" is also used by local users to read locally posted and remotely posted articles. The term "Binary Donor Server" describes an additional server (real or virtual) that is part of the same organization where the "originating server" operates. The "Binary Donor Server" can be accessed by any "remote user" so that they may obtain the original contents of large content articles posted via the "originating server". The term "donative article" describes an article that meets criteria including size, encoded-binary content and other conditions that make the article suitable for distribution via the Binary Donor Server. The term "pointer article" describes an article generated by the originating server that indicates the availability of the contents of a "donative article" on a specific Binary Donor Server. \|... snip .sp .ti 0 6. Benefits of the Binary Donor System There are several key benefits to using the Binary Donor System. .ti 1 o Large content postings of material that no one or few people actually want will not waste bandwidth on the Internet or consume large amounts of storage on the thousands of USENET News servers worldwide. This material will exist only on the Binary Donor Server at the site where the articles originated. .ti 1 o Those few individuals who do want a given large content article or set of large content articles can go get it from the stated Binary Donor Server. .ti 1 o Reposts of complete or partial multi-part encoded-binary sets due to propagation failures should become a thing of the past, one of the significant sources of USENET bandwidth, storage waste and article "clutter". If the "pointer article" post fails to reach a given remote server (and this is still possible), all that needs to be reposted is the pointer article that points to the same donative articles still present on the Binary Donor Server. There is no need to repost the large content article(s) itself. .ti 1 o The originating site that allows a large number of donative articles that are of interest to many remote users will have to control or cover the costs of the egress bandwidth to those wanting to access those articles, as well as provide the server processing power needed to share those articles with those that want them. This is no different than what would happen if the same administrators had a lot of material on a local web site that lots of people wanted to access. .ti 1 o Under the Binary Donor System, the retention time of a donated binary article is dictated by the originating servers retention time, not the remote servers retention time. As more servers adopt this system, each remote server will not have to store these large content articles originating at other participating servers, which will reduce the daily article storage demands of USENET, allowing all systems to see dramatically increased retention time and lower costs in the operation of their USENET news servers. .ti 1 o If a given Binary Donor Server limits download speeds to remote users too sharply or the server is difficult to access the Binary Donor Server due to connection limits or other habitual problems, the people posting on that local server can demand a solution for these problems. If the problems are not addressed, these customers can go elsewhere, thus providing the incentive to correct these problems rather than lose customers. Good access to the Binary Donor Server will likely become a marketing point for news providers who want to hold onto their customers, and some measurement of the ease and speed of access to the various Binary Donor Servers could eventually replace completeness measurements currently used as a way to compare news servers. (The computation of completion should report 100% all the time for all articles originating at sites using the Binary Donor System.) .ti 1 o In theory, limits on article sizes could be eliminated or vastly increased, since these large articles would only exist on the originating server and the Binary Donor Server. Changing any existing limit would be entirely up to the administrator of the originating server. Allowing much larger article sizes would make large objects derived from multiple large content articles sets less complex to re-assemble. .ti 1 o Although not invented for this task, the Binary Donor System could also be used to assist moderators of groups by using a specific Binary Donor Server (or servers) to hold all articles approved by the moderator of that group. (A mechanism described below allows a local user to force an article to be placed on the local Binary Donor Server.) Any articles arriving from other sources won't be present on the "official" Binary Donor Server, and cancel robots or feed filtering software could detect and eliminate these unofficial articles. Although a pointer article can be forged, it can only point to an article that does exist on the Binary Donor Server. If it doesn't, the forgery is ineffective. The same technique could be used to help verify the source of spam filtering lists, and even some types of USENET news control messages. If the articles don't appear on the right Binary Donor Server or aren't pointer articles at all, they can be considered to defintely be forged. \|... snip .sp .ti 0 8. Implementation of the Binary Donor System \|... snip .sp .ti 0 8.2 Testing a submitted article to see if it should be donated. A server analyzes the article to see if it should be propagated normally or hosted on the Binary Donor Server and a pointer article propagated in its place. An article SHOULD be a donative article and handled via the Binary Donor Server if any of the following items are true: .in 6 .ti 3 A. The article body size exceeds 64,000 bytes. .ti 3 B. If the article body is more than 100 lines long AND 50% or more of the lines contain no embedded blanks or tabs. Leading or trailing spaces and tabs on each line are not considered in the computation. .ti 3 C. If Newsgroups: header line contains any match to the strings "binar" or "pictu" or other strings that match groups where encoded binaries are the primary material placed there. .ti 3 D. If the article headers contain a "X-No-Archive: Yes" line. .ti 3 E. If the Path: line received in the POST handshake contains the element "bds!". This item is mandatory and MUST be implemented as described. .in 3 The originating site administrators MAY define additional conditions under which an article would be handled by the Binary Donor Server, including tightening or relaxing the above tests to deal with conditions arising from local operation, such as the use of unicode character sets. One such customization might be to donate encoded-binaries that are parts of multi-part posts, but single-part encoded-binaries below a certain size would propagate normally. If an article does not meet any of the above criteria, then it is processed normally and no special actions are taken on that article. \|... snip .sp .ti 0 8.5 Constructing and propagating the pointer article. \|... snip For example: .in 6 \|. . .(earlier lines of the pointer article headers) . . . .br Date: Sat, 29 Dec 2001 22:22:22 -0600 .br Organization: That costs extra .br Lines: 5000 .br Article-Content-At: news://bdsx.airnews.net/75201.13@airnews.net .br Article-Size: 690256 .br .sp Article-Content-At: news://bdsx.airnews.net/75201.13@airnews.net .br Article-Size: 690256 .br .sp .br This article will be available until Wed, 23 Jan 2002 22:22:22 -0600 .br Generic commercial about how great originating site is goes here .br \|. .br Where "75201.13@airnews.net" is the article Message-ID, normally seen enclosed in angle brackets, as in <75201.13@airnews.net>. .in 3 Note that the Lines: value MUST match what the donated article contains, not what the pointer article contains. The "life expectancy" of the donated article shown in the example is something that the originating server MAY add if it happens to know it, and this is not mandatory and MUST NOT be parsed by client newsreader as this is a free-format field. All optional free-format lines of text must follow the Article-size line by at least one blank line. If the donated article is also available multiple Donor Binary Servers additional "Article-Content-At" lines SHOULD appear in the headers AND in the body of the message, in the order that the newsreaders should query them. (The originating server MAY change the order of multiple Article-Content-At headers for each pointer article generated to distribute load if needed, but the order shown in the headers and body MUST agree.) The donated article MAY also be available via FTP or HTTP servers in addition, but NOT in place of at least one NNTP server. Client newsreaders are free to access any of the servers listed in the Article-Content-At lines found in any pointer article. \|... snip .sp .ti 0 9. Automated detection of pointer articles by newsreaders. When an existing newsreader encounters a pointer-article, it will be unaware of the significance of that article. This means that the user operating the newsreader will be forced to initiate a download of each desired donated article by using URL displayed in the body of the message. Ideally, newsreader software SHOULD be updated to recognize pointer articles and provide the option to automatically download the donated article without even showing the pointer article. Similarly, software designed to locate the numerous articles that are then re-assembled into a large object should be updated to retrieve these articles transparently and re-assemble the original object as before. This section describes the steps the newsreader or other client software should follow to detect a pointer article and obtain the donated articles from the Binary Donor Server. \|... snip -------------------------------------------------------------------------- end of excerpts (Personally, I like "donatable" over "donative", but there is some question as to whether donatable is really a word or not, even if the spell-checker likes it. Websters says no. Irregardless... :-) ) Formatted, the full paper is over twenty-five pages long (so far), and it describes all the mechanics and procedures for server and clients (even what spam 'bots must do to avoid falsely targeting the pointer-articles) to implement such a system while remaining usable to newsreader clients that don't recognize the extensions. Non-participating servers don't change at all. The justification study, some implementation tests and complying with all the RFCs for how you write an Internet-Draft have made this a much longer project than I originally expected when I got the the idea in late 2000, but in a way that allowed time for a lot of dead-ends and other obstacles to be addressed. I know my co-workers are tired of hearing about it by now. :-) (Pity, because I have two other proposals cooking as well.) I've got numbers that say DBS will work, and even free-standing News providers with badly-lopsided in/out bandwidth requirements will see overall benefit in storage costs, if not in bandwidth. ISP-hosted, school or business-hosted news servers are the big winners (saving storage costs AND bandwidth costs) of using this system, and have even more incentive to participate. Stay tuned, film at 11. Frank Durda IV - only this address works:|"The Knights who say "LETNi" <uhclem.jan02%nemesis.lonestar.org> | demand... A SEGMENT REGISTER!!!" |"A what?" This Anti-spam address expires Jan. 31st |"LETNi! LETNi! LETNi!" - 1983 Copr. 2002, ask before reprinting.
Technical Details
Message-ID:
<EC807039680FD208.2043C4FEC0E795B4.3743C7DC7373B66F@lp.airnews.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!sn-xit-02!sn-xit-04!supernews.com!news.airnews.net!cabal10.airnews.net!cabal1.airnews.net!news-f.iadfw.net!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <EC807039680FD208.2043C4FEC0E795B4.3743C7DC7373B66F@lp.airnews.net> Subject: Binary Donor System (was Re: another idea for handling USENET binaries) Date: Sat, 05 Jan 2002 23:07:34 +0000 From: Frank Durda IV <uhclem.jan02@nemesis.lonestar.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!sn-xit-02!sn-xit-04!supernews.com!news.airnews.net!cabal10.airnews.net!cabal1.airnews.net!news-f.iadfw.net!not-for-mail Newsgroups: news.software.nntp Organization: The Big Blue Box Lines: 378 X-Orig-Message-ID: <a180vm$2ln@library1.airnews.net> Abuse-Reports-To: abuse at airmail.net to report improper postings NNTP-Proxy-Relay: library1-aux.airnews.net NNTP-Posting-Time: Sat Jan 5 17:07:34 2002 NNTP-Posting-Host: !XcCe0d&@N[>V3g (Encoded at Airnews!)