🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15776

Re: replic slaves and posting question

#15776
From: Steve Jones
Date: Wed, 12 Mar 1997 00:00
67 lines
3651 bytes
In article <5g590b$cel@flea.best.net>,
Matt Dillon <dillon@flea.best.net> wrote:
>
>    In general, I would strongly suggest that people NOT use 
>    innd configured in xreplic/slave mode.    It's very easy for
>    innd to get confused, and the xreplic protocol is not a streaming
>    protocol so it will have a tough time scaling.

I disagree.  Innd doesn't get confused in Slave mode, and the speed of
transfer of articles to the slave is pretty much a hardware issue 
which is easily solved if the machines are in the same room.

There is another reason to use Slaves, and that is for redundancy for 
recovery from hardware failures.  This last week, I had a news server 
computer die, but because I had other Slave systems which spooled the 
articles, I had interruption in service for some groups only until the
problem was reported and the redundant server was promptly configured 
into service.  

>    There are several ways to approach the newsreader-machine problem:
>
>    (a) you NFS-mount the main news machine's spool onto each
>	'slave' and not bother with a feed at all.
>
>    (b) your newsfeeds machine feeds each newsreader machine separately,
>	without keeping article numbers in sync.. this is the most
>	scaleable approach, but it means that yor users must choose
>	a particular newsreader machine and stick to it.
>
>	Also generally have the newsreader machines cross-feed each
>	other and take posts directly, so posts made by your users
>	propogate to all of your newsreader machines quickly even
>	if your newsfeeds machine gets behind.

Also when the Master is throttled, the slaves cannot post. 
(At least that is the case with INN 1.4, has anyone a solution
for that?)

>    I would suggest (b).  I would suggest (a) only if you were not taking
>    a full feed... if you are taking a full feed, there's a good chance
>    you may overload the disks and then your feeds will not be able to
>    stay caught up.  
>
>    (b) also allows you to use one of the newer newsfeed-only systems
>    on the newsfeeds machine rather then innd. Diablo 
>    ( http://www.backplane.com/diablo/ ) and NNTPRelay
>    ( http://nntprelay.maxwell.syr.edu/ ) both come to mind.

There are two parts to the scaling problem.  
(1) Increase in newsreading (clients) activity.
(2) Increase in overhead to store and distribute articles.

Solution (a) I've not tried, so I won't comment on, but solution (b) 
doesn't address the second (2) part of the problem.  As the overhead 
for transfering and storing the articles increases, you have a smaller
portion of resources available for clients.  A third solution I use 
which addresses both parts is to divide the news amongst multiple 
(this is where it scales) Slave servers, and use DNNTP (from CMU)
to provide NNTP access to the messages.  
-- 
--
  Steven Jones
  Computing & Communications 354843,  University of Washington
  E-mail:  noyd@u.washington.edu    Phone:  (206) 543-5852

Technical Details
Message-ID: <5g6u02$hph@nntp1.u.washington.edu>
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: <5g4aha$4f2@lochaber.rutgers.edu> <5g590b$cel@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <5g6u02$hph@nntp1.u.washington.edu>
Subject: Re: replic slaves and posting question
Date: Wed, 12 Mar 1997 00:00:00 +0000
From: noyd@u.washington.edu (Steve Jones)
References: <5g4aha$4f2@lochaber.rutgers.edu> <5g590b$cel@flea.best.net>
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: 224994984
Distribution: inet
Organization: University of Washington, Seattle
Newsgroups: news.software.nntp
NNTP-Posting-User: noyd