🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38657

Re: Musings upon the concept of creating reliable news services with redundant sets of unreliable servers....

#38657
From: Joe Greco
Date: Wed, 14 Jul 1999 00:00
93 lines
5741 bytes
In news.software.nntp article <7mj19t$l8c$1@newssvr03-int.news.prodigy.com>, davidsen@tmr.com (bill davidsen) wrote:
:In article <378cc595$0$374@news.execpc.com>,
:Joe Greco <jgreco@ns.sol.net> wrote:
:
:| The cost of the machine is not an issue.  A good PC server class system
:| can be built for ~$2K-$3K, but it is the I/O subsystem, disks and RAID
:| controller, that will co$t you to death.
:
:That somewhat depends on what you want to do with the machine. If you
:use software RAID in the o/s you can keep the cost low, and for the
:redundant reader machines you only need raid-0 for performance. The i/o
:is always the most expensive part of a large system, even back in the
:days of memory at $4Million/MB mainframes (1960's).

If you use software RAID in the OS, you impact performance.  You do
not need RAID for the inexpensive readers, but you do for the central 
spool machines - at least if you are planning to hold on to stuff for
any period of time.

:| Using NFS is about the worst possible thing I can think of.  NFS is very
:| cruddy, unreliable, and noisy - causing system hangs in the event of
:| problems, etc.
:
:I ran a bunch of NFS slaves in 1.4 and 1.5, and they had none of those
:problems, they were just slow and used a lot of bandwidth. Had no hangs
:or bad data, just poor performance. We agree that's this is not the way
:to go, for whatever reasons.

Your NFS implementation doesn't hang the client and render it unusable
if the NFS server goes away?  What OS is _that_?

:| You are going in the right direction, you just don't have the right
:| technology.  You want big spool servers.  Machines that have lots of
:| disk and lots of speed but aren't being bogged down by dealing with
:| the inane stuff clients like to spew at a NNRP daemon.  You want
:| smaller reader servers.  Machines with small amounts of disk that
:| handle the NNRP transactions.  Machines that handle managing the
:| overview data, active files, etc.
:| 
:| You want to replace NFS with NNxP.
:| 
:| Look at Diablo.  Matt Dillon has done a fantastic job of solving your
:| problem for you.  You set up reader boxes running dreaderd.  These
:| accept a header-only feed from a master server, and create an overview
:| database from the Xref: data and other headers.  This is very low-cost
:| in terms of bandwidth, etc.  Each reader can handle hundreds of users,
:| and talks to the spool servers via a dozen or so NNTP channels which
:| are used for "ARTICLE <mess@geid>" type retrievals - very easy and very
:| fast for the spool server to do.
:
:One of the problems with having an anything feed is that it complicates
:the job of getting a new reader machine online. That's one of the few
:good features of NFS, it allows a new rader box to go from unpack to in
:service in a few hours. Any form of a header feed requires that the
:master be able to generate such a feed as a catchup.

Oh, bull.  I brought my second reader machine online by doing a tar over
the network to populate /news/spool/group.  Relying on NFS makes you
intimately dependent on that one NFS server, and god help you should
anything bad happen to it.  I can lose a spool server, the readers will
pause for about ten seconds before deciding it is dead and removing it
from the pool of active spool servers.  You lose your NFS server, and 
your reader machines _hang_ until it comes back.  That's the whole point.
NFS ties you to one spool, one server, one set of disks.  This solution
distributes the overview disk load between all the completely independent
reader machines, and does not tie you to one spool.

:| Yes, you still have a SPOF... the master server.  I know that I don't
:| care about this.  It is a small SPOF that can be handled by keeping a
:| hot spare machine around, and it need not be a huge system since it
:| only really needs to keep a days worth of news or so.  When it fails,
:| you pull the dactive from a reader and away you go.  Maybe you lose
:| some articles in the process if you're sloppy.
:
:I'm still not sure how you keep the article numbers in a newsgroup
:machine in sync on each reader. It's desirable to be able to move
:readers from one to another of these machines, so you sort of have to
:make them appear to be the same. Browsers are fragile, users are easily
:upset, I like to address the technical problem of not having them see
:changes rather than the political problem of dealing with unhappy
:users.

That's not a problem; the master keeps the reader article numbers in
sync.  That is its purpose in life.  That is its only reason for even
existing.

Works.  It is running here, in test mode.  Has been for about six
months, while I work on various Diablo improvements that I feel are
mandatory for a very large scale production environment.

... JG

Technical Details
Message-ID: <378d3721$0$374@news.execpc.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
References: <brad-1407991832480001@brad.techos.skynet.be> <378cc595$0$374@news.execpc.com> <7mj19t$l8c$1@newssvr03-int.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <378d3721$0$374@news.execpc.com>
Subject: Re: Musings upon the concept of creating reliable news services with redundant sets of unreliable servers....
Date: Wed, 14 Jul 1999 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <brad-1407991832480001@brad.techos.skynet.be> <378cc595$0$374@news.execpc.com> <7mj19t$l8c$1@newssvr03-int.news.prodigy.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: 501154347
Sender: jgreco@earth.execpc.com
X-Trace: nreader1.newsops.execpc.com 932001569 374 jgreco@169.207.16.1
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp
X-Complaints-To: abuse@execpc.com