🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9937

Re: INN's slave server

#9937
From: Mark Hittinger
Date: Wed, 07 Aug 1996 00:00
47 lines
2730 bytes
yoon@arari.snu.ac.kr (Park YoonNa) writes:
>Does innd fully implement slave server? 
>I understand the slave server is for distributing the client requests
>on master server. If you set up slave servers for your site, how many 
>slaves did you set up and have you got any problems running slaves?

At Netcom we've implemented master/slave over several servers.  We are
supporting several thousand simultaneous netnews users from servers located
in our Dallas site and our San Jose site.  The peak utilization is about
twice what the average utilization is - so we have to factor that in to
our implementation.

It works fairly well as long as all of your hardware is behaving correctly.
If one server develops a disk problem or a software problem then it tends to
fall out of sync with the rest of the servers.

This scales up ok on the read side.  You just add more servers as
your usage goes up.  What does not scale is the posting side of the equation.
All posts are sent to the master, so during peak utilization your master will
not provide very good response time to posts.

In addition, during some of expire and renumber, the master will reject posts.
I modified nnrpd to save posts on the slave's disk and to provide an immediate
positive acknowledgment to the poster's client.  Later on a cron job comes in
and runs rnews to eventually propogate the post to the master.

This was very handy recently when our master system had a massive disk drive
failure.  I was sitting there reformatting and rebuilding the master news 
spool area - but *not* loosing posts because they were accumulating on the
slave servers' disk areas.  Yea!

I've also found that I need to run at least two feeds between the master and
each slave to keep things in sync.  I do this with shell scripts and innxmit
now, but I've been thinking about adding xreplic to innfeed over the holidays.

With a little work the master/slave thing can be made to work, made to scale,
and also be made to be somewhat survivable! :-)

Regards,

Mark Hittinger
Netcom/Dallas
NetCOMplete News Admin
bugs@freebsd.netcom.com

Technical Details
Message-ID: <4ub2o5$bc8@dfw-ixnews1.ix.netcom.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: <4u9jk0$9jc@snunews.snu.ac.kr>

Show Full Headers
Complete Article Headers
Message-ID: <4ub2o5$bc8@dfw-ixnews1.ix.netcom.com>
Subject: Re: INN's slave server
Date: Wed, 07 Aug 1996 00:00:00 +0000
From: bugs@freebsd.netcom.com (Mark Hittinger)
References: <4u9jk0$9jc@snunews.snu.ac.kr>
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: 172780328
Distribution: inet
Organization: Netcom
X-netcom-date: Wed Aug 07 4:44:38 PM CDT 1996
Newsgroups: news.software.nntp