🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61063

Re: [FNTP] 'in-completeness'

#61063
From: Curt Welch
Date: Sat, 05 Oct 2002 08:38
126 lines
8395 bytes
Russ Allbery <rra@stanford.edu> wrote:
> I think that support for mid-ranged binaries, in the 1-10MB range, would
> be a lot better without multipart posts.

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".

As long as a bulk of the posters still post huge things in small
part sizes, we are never going to be able to get people to increase
there posting size.  Sites that need to control volume will still
continue to filter by article size.

> I think that 10GB binaries are inherently doomed, and that they're
> already effectively extinct on Usenet except at a few major sites that
> can only ever manage to send them to each other, so in practice they're
> going to end up being a non-issue for most of us except insofar as we
> have to waste our resources trying to reject them.  And the more resource
> we have to waste to reject them, the more sites are just going to drop
> all binary newsgroups entirely rather than trying to puzzle it out.

Well, that's the point of these message-id conventions.  We are looking
for simple ways to tranform usenet so that sites that want partial binary
feeds will have much better options to pick from.  If all the binary
multipart posts had message-ids that include the full size of the binary
file, filtering by binary file size (instead of article size) becomes
trivial.  You do have issues with users refusing to use the convention
becuase it only causes their posts to be filtered (or continuing to post
sets of rar files instead of one huge file to get under the per-file limit
of their server).  But, if you combine these conventions with other feature
that the users like, and if enough news admins like the features, then it
can be forced on most of usenet.  For example, you could set up feeds to
peers that won't feed any article over 10K unless it was marked correctly
with this new message-Id convention.  The admins might end up forcing the
users to use this convention because if they don't the articles get dropped
faster than binaries in non-binary groups.

> No.  That argues for being able to resume POST as well.

yeah, but we already have that "fixed" with multipart posts.  So to me, it
really feels like you are trading one set of problems for another set which
are equally bad (or for which you make your problems - filtering binary
posts - become user problems - waiting for developers to implement a resume
POST function).

> Isn't it interesting that the more you try to effectively support binary
> posting on Usenet, the more you turn NNTP into FTP?  :)

Not surprising really.  NNTP cleary was not designed for large files and
FTP was.  But there's more than one way to "fix" it.

> Right now, there's no real incentive to work on this because the posters
> won't stop posting multipart messages.

Yeah, the way we are forced to filter volume by article size has to be
fixed before we could ever realy get anyone to try posting larger articles.

> > I'd strongly suggest you re-examine how INN works in terms of what will
> > happen if the users are allowed to post unlimited length articles.  I
> > suspect a lot of things will either outright break, or will perform
> > like shit if you were to try that.
>
> Obviously, you can't spool articles entirely in memory, but that's not as
> hard to fix in INN as you seem to think.  All you have to change is to
> have INN start writing things straight to the spool rather than spooling
> them in memory first, which isn't that hard of a change (although it's
> probably a week's worth of work to get it tested properly).

I can see that working for tradational spools without huge code impact
(cache performance is another issue), but how do you deal with cycbufs.
You can't write straight to the cycbuf as you receive an article because
only one thread can write to the spool at a time and you can't afford to
lock up the entire cycbuf when an incomming article stalls or is
disconnected mid-article.

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.

> > Think about how imporant the memory cache is into making this work
> > without much disk IO.  Think about how changing the average article
> > size from 200K to 10MB will change the dynamics of the memory cache.
>
> The sites that are willing to carry an average article size of 10MB can
> throw considerably more resources at the problem than the average Usenet
> site which is currently being deluged with article pieces because there's
> no effective way to express a size limit preference.
>
> I can see the point about starting a simultaneous outgoing feed while the
> article is still in disk cache, but I'll also point out that 500MB of
> disk cache is pretty cheap, certainly cheap for the sort of hardware that
> you need to run a serious binary server.
>
> And if you seriously want to handle 10GB Usenet articles and think that
> this will be any sort of common enough case to have an impact on average
> performance, you're dealing with a sort of Usenet volume that's going to
> argue for a lot of custom coding, IMO.
>
> But again, maybe I'm full of shit.  I've not done the high-end binary
> thing; all I can comment on with any sort of authority is how annoying
> the quest for larger and larger effective article sizes is on those of us
> who are not interested in carrying any *files* that are larger than a few
> MB.

I've spent the last week fighting with my feed servers which are once again
no longer able to keep up with a full feed now that I've upgraded my
bandwidth and found news is another 10Mbits larger than it was 2 months
ago.  I've dounled the memory on one, replaced the burned out disk, and
orded a scond processor for it.  But that's not doing it, so I've orded a
new server which is about twice the power of my current "fast" server.  And
now, while waiting for the new server to get here, I find my old server is
starting to melt under the presure.  It's power cycling and rebooting about
every 10 minutes now.

I'm not an expert on what life would be like if the article size was 1MB
instead of 100KB, but it only seems like it's going to make life that much
harder for my servers to keep up.  Some of that is just the way I structed
my code, but some is just a fact of life with store and forward systems
that work better if they don't have to "store" as much before they can
"forward" and then free up the cache space.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021005043816.517$kr@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!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!grr!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <20021005043816.517$kr@newsreader.com>
Subject: Re: [FNTP] 'in-completeness'
Date: Sat, 05 Oct 2002 08:38:16 +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>
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!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!grr!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 rybO1NyhB@PLXumHD,PQhbi6pLIdkLI,miNVV@5g_mLn39VEY=
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: 125