🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13685

Re: Single-process NNRPd for hundreds of users

#13685
From: Brad Templeton
Date: Thu, 02 Jan 1997 00:00
32 lines
1988 bytes
Long before the days of huge loads on servers I always thought a
single process NNRPd type program would be a great win just for
the ability to cache.

In particular what it woudl cache, or regularly rebuild, would be
the XOVER data for the most recent news in the most popular newsgroups.

And it wouldn't merely cache this the way a disk cache does, but have
it in ram in advance of my reading it, so that all group menus were
instantaneous unless I hadn't read the group in a long time.

With ram prices as they are these days, even with 200,000 articles per
day at say 150 bytes per article for the overview info (with some decent
compression, easy on the date and numeric fields, plus mapping message-ids
to ints in Reference lines) that's just 30 megs of ram per day, so for the
modern cost of about $500 for 128 megs of ram you could hold the overview
for your entire spool, plus more to boot.

Enough, for example, so that header-based killfile predicates could be
done very fast, always served from ram.

This is good even if you don't have a lot of users, and of course if you
do it's even better.  You only go to disk to serve actual articles.

You could even cache the most popular articles too, but disk caches are
decent at doing that.
-- 
Brad Templeton, publisher, ClariNet Communications Corp.	 info@clari.net
The net's #1 E-Newspaper (1,400,000 paid sbscrbrs.)  http://www.clari.net/brad/

Technical Details
Message-ID: <5ahqph$ndf@fugue.clari.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
References: <5agrsi$i48@netaxs.com>

Show Full Headers
Complete Article Headers
Message-ID: <5ahqph$ndf@fugue.clari.net>
Subject: Re: Single-process NNRPd for hundreds of users
Date: Thu, 02 Jan 1997 00:00:00 +0000
From: brad@clari.net (Brad Templeton)
References: <5agrsi$i48@netaxs.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: 207392548
Organization: ClariNet Communications Corp.
Newsgroups: news.software.nntp