Article View: news.software.nntp
Article #7386Re: Feed-only INN?
From: Chris Lewis
Date: Wed, 08 May 1996 00:00
Date: Wed, 08 May 1996 00:00
53 lines
2969 bytes
2969 bytes
In article <gergDr2v7q.7BA@netcom.com>, Greg Andrews <gerg@netcom.com> wrote: >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. 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. >>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. >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. -- Chris Lewis: _Una confibula non sat est_
Technical Details
Message-ID:
<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-mailReferences:
<4mp00u$n8g@bad-news.harborcom.net> <gergDr2v7q.7BA@netcom.com>Show Full Headers
Complete Article Headers
Message-ID: <Dr3pC2.876@ferret.ocunix.on.ca> Subject: Re: Feed-only INN? Date: Wed, 08 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> 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: 153799612 Organization: eh? Newsgroups: news.software.nntp