🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6420

news transfer machines

#6420
From: Johan
Date: Tue, 09 Apr 1996 00:00
68 lines
3589 bytes
I've heard a lot of talk about dedicating a news server to handle transfers
and separate transfer load from reader load.

What's the best way to setup a machine that is optimized for transferring
news, not storing it?  Ideally, it would be a box capable of turning over 2
to 4 gigs of news per day (or more).  Obviously, the trick would be to delete
articles as soon as possible (ie - as soon as they have been transferred to
all sites)  It seems as though this would require a completely different
expiration strategy -- an algorithm that acts much like a FIFO buffer ...
deleting articles as they come in .. or in regular batches.

We've been throwing around a few ideas on how to manage a FIFO-based expire
process .. but before we dig our heels into this, I want to make sure we're
not reinventing the wheel.  Is there such a beast?

Here's my idea so far ... I'd welcome any input or ideas on how to make it
more efficient.

A frontend "channel-fed" process (much like flowstats or NNTPLINK) that logs
the path of each article as it comes in.  It would build a batchfile of
articles to be recycled and sorted each x minutes. Once recycled, this batch
would sit around for x minutes, so all outgoing feeds will have access to the
article before it is deleted..  This batchfile, once aged for x minutes, is
recycled a second time and then fed into some sort of "fastrm" process to
delete the articles in short order.  This would keep the size of the spool
small, and free the transfer host from spending too much time managing it.

A batch is just a list of articles (the same data being presented to NNTPLINK
through a stdin newsfeed) Literally just a list of filepaths.

There would be three phases for each article "batch"
	1 - incoming articles - new article entries are currently being 
	    added to the batch. New entries appended to log1

	-- log1 recycled to log2 --

	2 - aging phase       - this group of articles will sit on the 
	    news spool for one cycle to let feeding processes catch up with 
	    their feeding sites.  During this time, the list is sorted to 
	    speed the batch deletion process

	-- log2 recycled to log3 --

	3 - expire phase      - list of articles to be expired.  This can 
	    be tailored to be fed into fastrm or any other mass-unlinking 
	    utility

The server should also trim the history file at very regular intervals to
keep article id lookup times to a minimum.

Any thoughts from the gurus?  

Also, on a much more mundane note:  if you're already operating a transfer
host, how is it configured?   What kind of spool do you manage? How is your
"transfer-only" server configured?

Thanks for your input...
--Dan

Syracuse University
UseNet News Admin Team

   |    \ /    |      J. DANIEL BACKMAN <mailto:dbackman@netsys.syr.edu>
    |         |          Network Integration Group, Syracuse University
    |  |\ /|  |          213 Machinery Hall  <voice:315.443.3997>


Technical Details
Message-ID: <199604042006.PAA00855@terra-x.syr.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <199604042006.PAA00855@terra-x.syr.edu>
Subject: news transfer machines
Date: Tue, 09 Apr 1996 00:00:00 +0000
From: dbackman@terra-x.syr.edu (Johan)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
X-Deja-AN: 146558058
Distribution: world
Sender: zorch@ftp.UU.NET
Organization: Syracuse University, Syracuse
Newsgroups: news.admin.technical,news.software.nntp