🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7369

Re: Feed-only INN?

#7369
From: Greg Andrews
Date: Wed, 08 May 1996 00:00
77 lines
3908 bytes
dunn@harborcom.net (Bradley Dunn) writes:
>
>I was doing some thinking (which is when I'm most dangerous :)) about
>scaling our news server. I decided that eventually I would like to
>have one server that processes incoming feeds and batches up outgoing
>feeds and doesn't accept readers. I know many sites are doing this, so
>my question is: How do you handle the spool? Do you just set all
>articles to expire in 1 day?
>

I've found that with more than just a handful of outgoing feeds,
an expiration of 4 days is a comfortable value.  The minimum is
2 days.

The reason?  Murphy's Law.  A 1-day expire works fine as long as
all goes well.  If something goes wrong, then it becomes very
claustrophobic.  If some of your outgoing feeds go down for a
weekend, they'll still want to catch up on the news they couldn't
get.  If it's not on your spool, they won't be able to get it,
and they won't be happy about that. (no matter whose fault the
outage was)  If *your* server goes down for 36 hours and your
spool is only large enough to hold a day's worth, you'll have
to dump news to avoid filling up the filesystem.

>
>What I was thinking of is perhaps specifying /dev/null as the spool
>dir or something to that effect in config.data so that the articles
>are never written to the news spool.  This would still work, correct?
>

Not without special modifications to INN. (see below)

>
>INN would accept all incoming articles that aren't in the history file,
>and then build the outgoing feeds files in the out.going directory.
>No need for the news spool, right? I know I am probably missing something,
>please flame me with the answer.
>

No flame here.  I've been thinking about some similar ideas.

The problem with the idea that you've presented is that the feed (batch)
files in the out.going directory don't have the articles in them.
They have references to the articles (the path to the article files),
but not the articles themselves.  As soon as innxmit would start, it
would try to read a nonexistent article, and it would end up feeding
nothing to the site.

I don't think you'll be able to simply link the spool directory to
/dev/null anyway.  I can't put my finger on it, but something tells
me that when innd looks to see if the newsgroup's directory exists
(and tries to create it when it isn't), the link to /dev/null will
cause trouble.


One of the ideas I've been kicking around is to collect the articles
themselves into the equivalent of batch files and transfer them to
the site with a modified innxmit (or, after compressing them, FTP).
I think someone's already doing work in this area (xbatch?).
The major drawback to this method is that for every article that
is sent to multiple feeds, you must store multiple copies.  If you
keep the article in the spool, you only keep one copy.

It's a tradeoff of the number of feeds against the size and performance
of your disks.


  -Greg
-- 
:::::::::::::::::::  Greg Andrews  gerg@netcom.com  :::::::::::::::::::
ObGuindon:  The fad of throwing tofu, Japanese bean curd, at the
            ceilings of restaurants to see how long it will stick
            has really gotten out of hand in some cities.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Technical Details
Message-ID: <gergDr2v7q.7BA@netcom.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!not-for-mail
References: <4mp00u$n8g@bad-news.harborcom.net>

Show Full Headers
Complete Article Headers
Message-ID: <gergDr2v7q.7BA@netcom.com>
Subject: Re: Feed-only INN?
Date: Wed, 08 May 1996 00:00:00 +0000
From: gerg@netcom.com (Greg Andrews)
References: <4mp00u$n8g@bad-news.harborcom.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!not-for-mail
X-Deja-AN: 153747092
Sender: gerg@netcom23.netcom.com
Organization: Movie marquee: THE FLY GODS MUST BE CRAZY ALIENS
Newsgroups: news.software.nntp