🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7499

Re: Feed-only INN?

#7499
From: Chris Lewis
Date: Sat, 11 May 1996 00:00
88 lines
4337 bytes
In article <4mvfpt$g5k@solaria.sol.net>,
Joe Greco <jgreco@solaria.sol.net> wrote:
>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.

>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  :-)

Nooooooooooooo!  :-(  Not NFS!  Eeech :-)

>But it looks like you're just cross feeding enough that it's not a problem,
>yes?

We chose not to use master/slave in order to retain redundancy.

In our particular environment (one of the largest internal IP networks
on the planet, spread across the planet), with mixed NIS/DNS/hosts and
all sorts of stuff, relying on NFS for this sort of service supplied
globally doesn't work very well.  And, dealing with network segment
outages means that the master/slave stuff would be in recovery mode
to much.

Further, few of these machines are physically (or logically) located
particularly close to each other, so NFS is too bloody slow.

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

This is a trivial thing to solve.  Once the current spool gets close
to the max, you do all the links in the next spool.  So all links
are on the same drive.

>I was thinking about the following pretty-easy-to-integrate-as-a-channel-
>thing-sorta-like-crosspost hack.

Which is somewhat like what I was suggesting.

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

Yes.  As well as "if link == 1 and time - mtime > threshold"

>How do you "expire" the history?  (ok, that's trivial).

What history?  You use the messageids as filenames....

>But the problem that keeps coming back is that you are incurring a lot more
>directory update activity ("of course").

Not if you're smart and use multiple directories.
-- 
Chris Lewis: _Una confibula non sat est_

Technical Details
Message-ID: <Dr8uu3.CM1@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
References: <4mp00u$n8g@bad-news.harborcom.net> <gergDr2v7q.7BA@netcom.com> <Dr3pC2.876@ferret.ocunix.on.ca> <4mvfpt$g5k@solaria.sol.net>

Show Full Headers
Complete Article Headers
Message-ID: <Dr8uu3.CM1@ferret.ocunix.on.ca>
Subject: Re: Feed-only INN?
Date: Sat, 11 May 1996 00:00:00 +0000
From: clewis@ferret.ocunix.on.ca (Chris Lewis)
References: <4mp00u$n8g@bad-news.harborcom.net> <gergDr2v7q.7BA@netcom.com> <Dr3pC2.876@ferret.ocunix.on.ca> <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-mail
X-Deja-AN: 154325591
Distribution: inet
Organization: eh?
Newsgroups: news.software.nntp