🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70187

Re: Handling a large spool with INN ?

#70187
From: Jeffrey M. Vinocur
Date: Wed, 27 Oct 2004 08:55
72 lines
3778 bytes
In article <clks49$k1m$1@news.httrack.net>,
Xavier Roche  <xroche@free.fr.NOSPAM.invalid> wrote:
>
>I am trying to tune an INN server so that it can deal with a large (ie 
>few years of text groups) news spool.

Are you having problems, or are you just thinking preemptively?
It's not clear to me what you're calling a large spool and
whether that is actually large enough to matter.

FWIW, we maintain a local server that I consider quite small, and
I just counted the number of posts -- it's nearly a million in
total.  INN uses less than one percent of our machine's CPU time.

So some questions for you:  how many messages altogether, how
many messages per group in a large group, and (most importantly)
how many simultaneous users reading news?


>The storage format choice is important - timecaf is probably a good 
>choice (more control than cnfs, better granularity than tradspool and 
>timehash),

Well, tradspool pretty much has the ultimate granularity, and it
works well until you get in the 10,000 - 100,000 articles/group
range.  (Also keep in mind that you can mix a variety of storage
methods, so you can start easy and figure out what needs tweaking
later.)


>but how INN will store its Message-Id indexes 

The history database is reasonably efficient.  It can store about
20 million messages before exceeding 2 GB on an average system;
simply compile INN with largefile support if you require more
than this.


>and will it handle the load of millions of messages ?

The total number of messages is not as important for load as is
the number of new messages arriving per day, and the number of
readers.


>Another problem is the 
>expiration handling, based on arrival time rather than message time if I 
>am correct - hence if you fill a spool with an existing database (an old 
>spool, using cat old | rnews), will this mess up the whole thing because 
>you will end up with old messages having recent arrival time ?

The purpose of that method is so that each article will be
available to users for a reasonable length of time.  If you
prefer to expire based on posting date, there is an option for
that.

You might want to stop and think about what sort of article
expiration plan you want, though.  If you're going to expire
based on posting date, then why bring old articles over in the
first place?


>Similarly, handling overview through ovdb seems a pretty good choice - 
>but this format doesn't seems to have been thoroughly tested..

Most of the recent work is on tradindexed, I might start there
and only consider alternatives if you have trouble.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <clnnp4$3c5$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.zanker.org!newshub.sdsu.edu!logbridge.uoregon.edu!news.cse.psu.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <clks49$k1m$1@news.httrack.net>

Show Full Headers
Complete Article Headers
Message-ID: <clnnp4$3c5$1@puck.litech.org>
Subject: Re: Handling a large spool with INN ?
Date: Wed, 27 Oct 2004 08:55:00 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <clks49$k1m$1@news.httrack.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.zanker.org!newshub.sdsu.edu!logbridge.uoregon.edu!news.cse.psu.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 72
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1098867300 3461 66.218.0.75 (27 Oct 2004 08:55:00 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Wed, 27 Oct 2004 08:55:00 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)