🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53221

Re: Setting up a server for 100k+ users

#53221
From: Curt Welch
Date: Wed, 11 Jul 2001 00:38
121 lines
6146 bytes
"Dan" <newgroups_nospam@darpa.org> wrote:
> Hi,
>
> I need to configure a pretty large news server with a full feed for
> probably 100k+ users,

Is that 100K dial-up ISP custmers, most who won't even use Usenet, or is
that 100K high-speed usenet customers?  There's a huge difference between
those to extremes.

> and I was wondering what kind of advice you could give me for setting up
> this scale of a server.

Hire someone else to do it for you?  Outsouce insead of building your own?

> In terms of hardware and software, we were looking at starting off with
> around 300GB+ of storage (is this enough for a full feed?

If you can live with 1 day of retention it is.

> to store at
> least 2-3 days of posts?)...

Then you need more like 1TB of space.  And if you still want to have 3
days of retention 6 months for now, you should start out with more like
2TB now.

> SCSI most likely, 2GB of ram... probably
> 1ghz processor.... and running dnews as the software

Ugh.  Dnews. Good luck.  I've heard mixed things about that.  I've never
used it myself.   When you think "big server", no one thinks of Dnews
first.  I've heard a lot of good things about Dnews, but not in relation to
running a "large" site.

> (need a
> web-interface for users)

None of the large sites which provide web access use dnews as far as I
know.  But there aren't lots of options there.

> .... I've heard that full feeds can go from 300GB/day,

That's right.  And you realize that also means 30 Mbps of bandwidth
as well right?  And it doubles in size every 10 months or so.  Sometimes
faster.

> so I was wondering
> if there
> are any possible alternate routes to go without cutting out all of
> alt.bin*

Sure. Tons of options.  Just throw out what you can't afford.  You can
drop groups, or hierarchies, or filter by size.  All of these are common
tricks for getting the volume down and still providing something for
your users.  If you dropped all the binaries you would only need
2 or 3 GB per day and and your 300 GB server would give you 100 days
of retention.

> I would appreciate if you could recommend any good hardware
> configurations (maybe specific models from specific companies as well
> that you have found to be good for this sort of thing)
> for this and what to expect in terms of system failures under these heavy
> loads....
> I've heard that using raid-5 is inefficient for a news server(which
> raid-level if any
> is best to use?),

Raid 5 is very slow to write (2 reads plus 2 writes for each block you
write).  And you need a lot of IO to write all that news.  You can make
Raid 5 work, but you must have enough disk bandwidth to allow the server to
keep up.  This is a function of how much money you want to spend on this
server and how much you care if a disk dies and you loose some news that
you were going to delete in two days anyhow.  There are people that have
used Raid-5 on news servers, but not many.  raid-1 works better, but then
you need twice the disk space.

There are various ways to build in redundancy without using Raid of any
type.  You can run redundant servers for example.  Or do what Newsfeeds
does and just split up usenet and run different sections on different
servers (mp3s on one server, text on another, etc. etc.).  Then when a disk
dies, only one server is down while you repair it.  They run Dnews.  And I
think that says something about how hard it is to build a big server with
Dnews.

> and was also wondering what you any other
> recommendations anyone might have with pros and cons for each.

Usenet is a bitch to keep up with.  Whatever worked 6 months ago
no longer works today.  Every year you have to re-build your servers
and what you have to work with this year in terms of software and hardware
is never the same as what you were picking from a year ago.

This is even more true when you are trying to keep up with the bleeding
edge of a "full feed" server.

> The system should be scalable for bandwidth and storage capacity as
> well...

Sure, don't we all wish that.

News servers are always easy to scale.  You just thrown them out the window
every 9 months and buy new ones.  Make sure you have the budget for that
before you get into the business of running a news server.  Nothing scales
in this business for more than a year.  You have to constantly replace them
if you want to keep up.

> Any information you could give me would be greatly appreciated,

Would you like me to build and run a server farm for you?  Send me an
e-mail and I'll be happy to talk about it with you.

If you're going to use Dnews, talk to the Dnews guys and get advice from
them on hardware issues.  They should know more about what works best with
their software than anyone else.  And see if they can put you in touch
with other customers which are trying to do the same thing you are.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20010710203827.705$Bi@newsreader.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!sn-xit-02!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!newshub2.home.com!news.home.com!howland.erols.net!portc.blue.aol.com.MISMATCH!portc01.blue.aol.com!feed.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <9ifl4a01i1l@enews3.newsguy.com>

Show Full Headers
Complete Article Headers
Message-ID: <20010710203827.705$Bi@newsreader.com>
Subject: Re: Setting up a server for 100k+ users
Date: Wed, 11 Jul 2001 00:38:27 +0000
From: curt@kcwc.com (Curt Welch)
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!sn-xit-02!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!newshub2.home.com!news.home.com!howland.erols.net!portc.blue.aol.com.MISMATCH!portc01.blue.aol.com!feed.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 120