🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Johan Thu, 04 Apr 1996 00:00
news transfer machines
#6288
Author: Johan
Date: Thu, 04 Apr 1996 00:00
76 lines
3758 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>
   |___|   |___|      ------------------------------------------------------
   G O   B L U E      Kappa Delta Rho, Mu Beta Chapter




Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads