🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39645

Re: Mixing headerfeed with a normal feed in diablo

#39645
From: Joe Greco
Date: Sat, 04 Sep 1999 00:00
117 lines
5861 bytes
In news.software.nntp article <7qsibf$5qf$1@zeus.fw.cuci.nl>, srb@cuci.nl (Stephen R. van den Berg) wrote:
:Brad Knowles <brad@shub-internet.org> wrote:
:>    I've read through this whole article a couple of times, and I'm still
:>at a loss to figure out why you're trying to do a hybrid full/header-only
:>feed to a particular server.  Maybe I'm just being dense, but until I can
:>understand that, I doubt I'll be able to help on much of anything else.
:
:Hmmm..., I thought that would have been self evident...  evidently not :-).
:Let me try and clarify the reasoning:
:
:We're dealing with a limited bandwidth situation here, but multihomed.
:So, in order to make the factors involved a bit more tangible, I'll
:describe a reduced but similar sample.
:
:Suppose there would have been the following five newsgroups:
:
:alt.bin		Many large postings, not well read
:alt.binero	Many large postings, well read by many users
:comp.mail	Normal discussions read by all users
:alt.sex		Many small postings
:news.groups	Important announcements necessary for administration
:
:Server ext-a and ext-b carry all five groups.
:
:Network topology looks roughly like this:
:
:ext-a ---------\       /--------------- ext-b ------ Internet
: |       2Mb/s  \     /    128Kb/s
: |		 \   /
: |		local-c
: |		   \
:Internet	    \----------------- sat-d
:		           512Kb/s
:
:As you can see, local-c has two separate backbone connections to the
:Internet.  The line bandwidths are different.  sat-d only has a connection
:to local-c.
:
:The point is that I want users at local-c and at sat-d to have access
:to a full feed of news (or at least, it should appear to be a full feed).
:But I also want to make sure that the backbone connections are not
:saturated with news.  Yet, redundancy should be used to make sure the
:feed is not missing articles, and the access should be made as swiftly
:as possible.
:
:Now, with this topology and these requirements in mind, I'd normally end
:up with the following ideal configuration:
:
:ext-a -> local-c normal feed:	comp.mail
:				alt.binero
:				alt.sex
:				news.groups
:
:ext-a -> local-c header feed:	alt.bin
:
:ext-b -> local-c normal feed:	comp.mail
:				news.groups
:
:ext-b -> local-c header feed:	alt.bin
:				alt.binero
:				alt.sex
:
:local-c -> sat-d normal feed:	comp.mail
:				alt.binero
:				news.groups
:
:local-c -> sat-d header feed:	alt.bin
:				alt.sex
:
:Full feeds from sat-d -> local-c, and from local-c to ext-a and ext-b
:
:This would maximise reading speed (often read newsgroups are in the
:real feed), still allow all articles to be seen and read (using the
:header only feeds), and provide for full redundancy (if ext-a would
:have a problem, ext-b takes over completely, albeit a bit slower,
:because many of the articles will receive as header-only).
:As soon as ext-a recovers, I'd like the articles that (intermediately)
:have been received as header-only from ext-b, to be replaced by their
:full counterparts as they will arrive from ext-a.
:
:Incidentally, the different header/full variations are of course dependent
:on available bandwidth on that particular line segment.

Yick.  You can probably do it.  However, it seems messy and complicated,
two factors which usually scream "wrong design" to me.

You _can_ feed Diablo with a header only feed, but I think it's almost
invariably a mistake to try what you're doing:  It would mean that Diablo
would need to know that it could only feed those out to feeds that are
marked "header-only", something Diablo doesn't know about right now in
the main process.  It also means that ARTICLE <x> retrievals would need to
fail on header-only articles, else your dreaderd's would see interesting 
behaviours when accessing an article that was on spool as header-only.  
This seems like a plan with lots of inherent evilness, particularly if you
mess up and start pushing a feed containing some header-only articles back
to Usenet peers.

You wouldn't pull in enough headers over the 128Kb link to make all the
extra effort worth it...  so, if you're not going to have good redundancy,
just do away with it entirely and be happy.  Rely on the caching of
dreaderd to manage your "often accessed news" and save on bandwidth; you
WILL move the articles across the link one way or another.

I think if it were me, I'd elect ext-a and ext-b as the two Diablo machines
(which is already the case for you).  Then pick ext-a as your header feed
master, leaving ext-b entirely out of the picture.  local-c and sat-d run
dreaderd only and can either number themselves or use ext-a's article 
numbering.  sat-d can then use dreaderd on local-c for article retrieval, 
which in turn uses ext-a as its primary and ext-b as a backup spool store.

If you're insistent on making Diablo do this, make _everything_ a header
only feed, running Diablo on local-c (no need at all on sat-d) and use
dreaderd's cache mode for your actual "spool".

... JG

Technical Details
Message-ID: <37d1f171$0$447@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: <7qrmlp$i0u$1@zeus.fw.cuci.nl> <brad-0509990100500001@dialup989.brussels2.skynet.be> <7qsibf$5qf$1@zeus.fw.cuci.nl>

Show Full Headers
Complete Article Headers
Message-ID: <37d1f171$0$447@news.execpc.com>
Subject: Re: Mixing headerfeed with a normal feed in diablo
Date: Sat, 04 Sep 1999 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <7qrmlp$i0u$1@zeus.fw.cuci.nl> <brad-0509990100500001@dialup989.brussels2.skynet.be> <7qsibf$5qf$1@zeus.fw.cuci.nl>
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: 521214656
Sender: jgreco@earth.execpc.com
X-Trace: reader0.chcgil.newsops.execpc.com 936505713 447 jgreco@169.207.16.1
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp
X-Complaints-To: abuse@execpc.com