🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53222

Re: Setting up a server for 100k+ users

#53222
From: Andrew Gierth
Date: Wed, 11 Jul 2001 01:27
81 lines
4212 bytes
>>>>> "Dan" == Dan  <newgroups_nospam@darpa.org> writes:

 Dan> Hi,

 Dan> I need to configure a pretty large news server with a full feed
 Dan> for probably 100k+ users,

100k+ of what sort of users? (it makes a huge difference)

The figure you need to estimate is the number of _concurrent_ users,
and the total reader bandwidth required; that will give you a better
idea of where to start.

(some extremes: 100k individual subscription users with 5GB/month
quotas might result in around 10k concurrent connections, consuming
around a gigabit of traffic; on the other hand 100k dialup ISP
subscribers could result in 300-1000 concurrent connections consuming
perhaps 5-15 megabits. These figures are somewhat speculative.)

 Dan> In terms of hardware and software, we were looking at starting
 Dan> off with around 300GB+ of storage (is this enough for a full
 Dan> feed? to store at least 2-3 days of posts?)...

In a word, no.

Current traffic figures are nearly 300GB for one day, so if you're
looking at keeping a full feed for 2-3 days then you should be looking
at a terabyte as a _starting_ point (remember that traffic levels are
always increasing).

 Dan> SCSI most likely,

consider fiberchannel

 Dan> 2GB of ram...

unlikely to be enough if you have a lot of concurrent users

 Dan> probably 1ghz processor.... and running dnews as the software
 Dan> (need a web-interface for users)

dnews is not the only web-interface.

There are some sizing suggestions on the dnews website. Take these
with a large grain of salt; their largest configuration shown, for
example, has insufficient network capacity provisioned to deliver
anything like reasonable performance to the stated number of users.

BTW, you'll almost certainly want to run a separate machine for
transit feeding, and you probably won't want to run dnews on that
(Diablo, Cyclone, NNTPRelay, etc. will be what you want there)

 Dan> I've heard that full feeds can go from 300GB/day, so I was
 Dan> wondering if there are any possible alternate routes to go
 Dan> without cutting out all of alt.bin*

You can't fit a quart into a pint pot; if you don't want to keep
the full feed then you will need to decide what not to carry.

 Dan> I would appreciate if you could recommend any good hardware
 Dan> configurations (maybe specific models from specific companies as
 Dan> well that you have found to be good for this sort of thing) for
 Dan> this and what to expect in terms of system failures under these
 Dan> heavy loads....

Expect a noticable rate of disk failures. :-)

 Dan> I've heard that using raid-5 is inefficient for a news
 Dan> server(which raid-level if any is best to use?),

raid-5 is fine provided that you understand its limits.

The main issue with raid-5 is that the write performance is somewhat
worse than raid-1 or raid-0. News servers have to do a lot of writes
to handle the incoming feed, but if your disk subsystem is adequate
for the task then the raid-5 overhead isn't a problem. Basically it's
a tradeoff between disk capacity and write performance.

-- 
Andrew.
Technical Details
Message-ID: <87vgl05k6r.fsf@erlenstar.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
References: <9ifl4a01i1l@enews3.newsguy.com>

Show Full Headers
Complete Article Headers
Message-ID: <87vgl05k6r.fsf@erlenstar.demon.co.uk>
Subject: Re: Setting up a server for 100k+ users
Date: Wed, 11 Jul 2001 01:27:40 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <9ifl4a01i1l@enews3.newsguy.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
Newsgroups: news.software.nntp
Organization: disorganised
Lines: 80
NNTP-Posting-Host: erlenstar.demon.co.uk (718b:067c)
X-Mayan-Date: Long count = 12.19.8.6.17; tzolkin = 7 Caban; haab = 15 Tzec
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-Attribution: AG
X-P-Persistent-Headers: are a bad idea.
X-Newsreader: Gnus v5.5/Emacs 20.2
X-Complaints-To: andrew@erlenstar.demon.co.uk
X-Post-Filter: postfilter v0.6 alpha