🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55855

Re: Why are binaries posted in parts?

#55855
From: Curt Welch
Date: Thu, 03 Jan 2002 01:02
50 lines
3896 bytes
grobe@netins.net (Jonathan Grobe) wrote:
> Why are binaries posted in parts? [Other than to get around news
> administrators who filter out large posts.] Are there limits in
> news servers or newsreaders or NNTP which require this?

All news servers have hard-coded limits on the maximum size articles
they can deal with.  It's not directly an NNTP issue (NNTP has no
technical limits on article size).  But indirectly it's an NNTP problem
because there is no way to restart the transfer of a large article
with NNTP if you have to abort the transfer mid-stream.

The design of servers is greatly simplified if you limit the maximum size
of articles.  For example, with a 4MB max article size and 1GB memory sizes
common, it's safe to assume that the entire article will always be able to
"fit" in memory at once.  So you can write your entire server based on the
assumption that articles can be held in memory at once (even that many
articles will fit in memory at once).  If there was no article size limit,
and people wanted to send 10GB articles, you would have to write the server
code very differently.  Or just make it a lot more complex so it can deal
with small articles one way (holding them in-core) and large articles
another way (writing them out to disk as you receive them).

It's also an historic issue.  The first servers had size limits just to
make them easier to write, and once you have a large base of servers with
article size limits, there's not much point in trying to increase the limit
because the large articles will simply not be transmitted to the old
servers.  And faced with that fact, people writting new servers have no
motivation to write the far more complex code required to support both
small and huge articles.

Mostly this all has happened because Usenet was designed to transport text
messages, not files, and putting a 1MB limit on the size of a single "text"
message seemed very resonable.

Though, there has been some discussion with the ideas of servers knowing
more about "multipart articles" and treating them more like a single post
even if they are sent as multiple articles.  For example, with new
protocols, users could transfer the file to the server as one large
article, and the server would generate all the multipart articles.  And
multipart articles could be better labeled in some well defined standard
fashion so that news servers could easilly match them up, decode them, and
present them to the user as a single file - and for servers which wanted to
limit the size of their feed, they would be easier to filter out as a
"whole" instead of the problems we see today where some parts are dropped
and the rest transmitted.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20020102200244.648$et@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!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!feed2.onemain.com!feed1.onemain.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <slrna374dk.79.grobe@worf.netins.net>

Show Full Headers
Complete Article Headers
Message-ID: <20020102200244.648$et@newsreader.com>
Subject: Re: Why are binaries posted in parts?
Date: Thu, 03 Jan 2002 01:02:44 +0000
From: curt@kcwc.com (Curt Welch)
References: <slrna374dk.79.grobe@worf.netins.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!supernews.com!newsfeed.direct.ca!look.ca!feed2.onemain.com!feed1.onemain.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com oA_yoG0kYCekV1uiu8Px5X4xBQH=xwgCL9B./_w8_q1hfNenQ
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: 49