Article View: news.software.nntp
Article #7449Re: Feed-only INN?
From: Joe Greco
Date: Fri, 10 May 1996 00:00
Date: Fri, 10 May 1996 00:00
90 lines
4167 bytes
4167 bytes
In news.software.nntp article <Dr3pC2.876@ferret.ocunix.on.ca>, clewis@ferret.ocunix.on.ca (Chris Lewis) wrote:
:It depends on your circumstances. We have three "reader-less" gateway
:servers, plus about 13 "reader-full" ones. We've designed our systems
:so that each server has at least two full redundant feeds - at least
:one of which is a "reader-full" server with a longish expiry. So,
:even if one of our gateway reader-less servers goes down for a day or
:three, nobody loses anything.
:
:Our gateway servers have a .5-1 day expiration on everything, and
:receive about 1.5Gb/day. With 2Gb spools, and 5 expires/day,
:we don't lose anything.
Hmm, I'm not quite clear on this.
INN's feeding tools are able to look at an "alternate spool" for articles.
What this means is that you can set up a master-slave system with slave(s)
with VEEEEERY long retention time and a master with VEEEERY short retention
time. Because you are running master-slave, the article numbers are in
sync between the two. So you NFS mount the client spool on the master :-)
But it looks like you're just cross feeding enough that it's not a problem,
yes?
:>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.
:
:Here's a simple possibility:
:
:Write something that links the file into a per-feed directory.
:Something like nntplink. Each file is hard-linked to the same location
:in each feed it's supposed to go to. Each time innxmit sends a file,
:it unlinks it's own copy. When the last feed referencing the file
:transfers it, the file disappears.
Nooooooooooooo! :-(
You are limited to the size of a (single) spool disk. Eeeech.
I was thinking about the following pretty-easy-to-integrate-as-a-channel-
thing-sorta-like-crosspost hack.
Your basic news spool looks sorta like this:
make /news
make /news/.0
cd /news
mkdir .0/alt
ln -s .0/alt
Now take the standard Usenet paradigm of hard links and have some fun.
mkdir /news/out.going
mkdir /news/.0/out.going
foreach i (feed1 feed2...)
mkdir /news/out.going/$i
mkdir /news/.0/out.going/$i
end
Use each one as the "base" for your hard links. A simplistic system could
generate a whole parallel directory tree for each feed.
*For a feeder only system, the crosspost-like program responsible would
unlink the original spool article after making the hard links* :-)
Advantages: "files disappear entirely after being fed to all sites".
Disadvantages: Lots more disk activity to put a single file in spool.
How do you "expire" for hopelessly backlogged feeds? (Perhaps find/rm).
How do you "expire" the history? (ok, that's trivial).
But the problem that keeps coming back is that you are incurring a lot more
directory update activity ("of course").
O well.
... Joe
-------------------------------------------------------------------------------
Joe Greco - Systems Administrator jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI 414/342-4847
Technical Details
Message-ID:
<4mvfpt$g5k@solaria.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!not-for-mailReferences:
<4mp00u$n8g@bad-news.harborcom.net> <gergDr2v7q.7BA@netcom.com> <Dr3pC2.876@ferret.ocunix.on.ca>Show Full Headers
Complete Article Headers
Message-ID: <4mvfpt$g5k@solaria.sol.net> Subject: Re: Feed-only INN? Date: Fri, 10 May 1996 00:00:00 +0000 From: jgreco@solaria.sol.net (Joe Greco) References: <4mp00u$n8g@bad-news.harborcom.net> <gergDr2v7q.7BA@netcom.com> <Dr3pC2.876@ferret.ocunix.on.ca> 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: 154116431 Distribution: inet Organization: sol.net Network Services - Solaria Public Access UNIX Newsgroups: news.software.nntp