🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36797

Re: Configuration Question

#36797
From: Brad Knowles
Date: Mon, 19 Apr 1999 00:00
122 lines
6701 bytes
In article <924533039.12366.0.nnrp-06.c1ed141b@news.demon.co.uk>, "Matt K"
<mk@^expansys.co.uk> wrote:

> We are looking at establishing an full-feed NNTP server.
> 
> Working on these assumptions - we have a 100mb/s switch, a budget of arount
> $30,000 and a solution that must be scalable (as we don't have any idea on
> how many users we will eventually support):

    A big issue here will be whether or not you handle binaries, and if so
how far you go.  A truly complete full feed today will run somewhere
around 35-40GB/day, and you need to be prepared to handle that.  If you
leave out the *mp3*, *cd.image*, and certain other ultra-high volume
newsgroups, you can probably cut this down to 15-20GB/day.

    You need to make sure that you have the necessary WAN bandwidth to
handle this kind of traffic.  If you've got a true full feed, that would
be at least 3.8Mbps (probably with peaks to 6Mbps or more), and that's
only if you are a leaf node and generate absolutely no outbound traffic. 
If you exchange news with a variety of sites, you're likely to need
considerably more WAN bandwidth than this.

> What is the most "advisable" configuration for this server (hardware /
> software) and what area is the most important to invest in - processor
> speed, memory, disk array size??.

    With traditional spool (INN or otherwise), disk latency is the driving
factor, assuming you have enough memory, fast enough processors, etc....

    For this sort of operation, you want something like the 18GB Seagate
"Cheetah" mechanisms attached to the fastest battery-backed up write-back
caching controller you can get your hands on, and ensure that you have
enough bandwidth to your disk drives to avoid having the controller be the
bottleneck.


    You could alternatively go with CNFS under INN, and disk latency
becomes a much less important factor.  However, today, CNFS sucks for
readers (primarily due to problems with generating overview data),
although it works well for transit servers.

    Diablo/dreaderd has it's own timehash-like method of creating a spool,
and has many of the same advantages of CNFS, without the current overview
database problems that INN 2.2 has.


    I don't know exactly what the Highwind products (e.g., Cyclone and
Typhoon) do or how they do it, but it's my understanding that they require
some relatively high-end hardware.  Of course, they're commercial
products, and may be out of the range of your budget.

> Also, why are people running two machines (apart from minimising downtime)?

    As you'll see from my notes above, INN with CNFS works well today for
transit (as does Diablo), but INN w/ CNFS does not work very well for
supporting readers (Diablo/dreaderd is not as well tested in this area,
either).  Also, these two jobs tend to make different types of
requirements on the server where they are running.

    The transit server doesn't need nearly so much disk space (just enough
to spool a short amount worth of data for it's various peers), but what
disk space it does have needs to be *very* fast (after all, that small
amount of disk space is going to get the snot hammered out of it day in
and day out, what with all the same articles being offered to you very
quickly by all your peers, and your trying to turn around and offer
whatever articles you get to your peers).  And it wants to have a lot of
memory to have lots of buffer cache available (for the active database, if
you're using Diablo), as well as to have a lot of parallel connections
open to your various peers.

    OTOH, the news spool server needs a large quantity of disk space and
lots of memory, but this time it needs the memory to store many copies of
innd and nnrpd, and lots of buffer cache may (or may not) be all that
desirable.


    In order to optimize each machine for it's function, it is common to
have two separate machines performing the two functions.  One handles all
the communication with the outside world, the other handles accepting a
feed from this machine and then spooling the articles you want and
presenting them to your users.

    In an emergency, one machine could be pressed into performing the duty
of both.

> All advice appreciated - my current thinking is an UltraSPARC, 120gb array,
> running INN.

    If you were willing to consider alternative hardware choices, you
could use a much less expensive configuration with a high-end PC server
running FreeBSD (the native OS for Diablo), and save most of your money to
be spent on the hard drive subsystem (the above mentioned Seagate 18GB
"Cheetah" mechanisms, connected to either DPT SmartRAID IV write-back
caching host SCSI controllers or Mylex DAC960SXI write-back caching
controllers connected to Adaptec AHA3940UW dual-channel host SCSI
adaptors).

    In fact, you might be able to buy two systems like this for the price
of one UltraSPARC.  The only downside is that the hardware is slightly
less reliable, and you may have something like three or four days of
downtime each year due to failed CPU fans, etc... with the PC server
hardware that you would be unlikely to have with the UltraSPARC servers.


    That said, the world's largest anonymous ftp server runs on PC server
hardware and FreeBSD.  See the article in _SunWorld Online_ at
<http://www.sunworld.com/swol-04-1999/swol-04-silicon.html>.

> Are there any web resources that could help here?

    I'm not aware of any.  If you find out about some, please let me
know.  I'll make sure to update the relevant data on the Mozilla Open
Directory Project.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Are you looking for a news feed from a site in the Freenix Top 130?
If so, contact me via private e-mail for details.

Technical Details
Message-ID: <brad-1904991735090001@brad.techos.skynet.be>
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: <924533039.12366.0.nnrp-06.c1ed141b@news.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <brad-1904991735090001@brad.techos.skynet.be>
Subject: Re: Configuration Question
Date: Mon, 19 Apr 1999 00:00:00 +0000
From: brad@shub-internet.org (Brad Knowles)
References: <924533039.12366.0.nnrp-06.c1ed141b@news.demon.co.uk>
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: 468335849
X-Complaints-To: abuse@skynet.be
X-Trace: news0.skynet.be 924536199 21936 195.238.1.121 (19 Apr 1999 15:36:39 GMT)
Organization: Shub-Internet
X-URL: http://www.shub-internet.org/
NNTP-Posting-Date: 19 Apr 1999 15:36:39 GMT
Newsgroups: news.software.nntp