🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16212

Re: Some Diablo questions!

#16212
From: Cracker Buster
Date: Mon, 24 Mar 1997 00:00
70 lines
4579 bytes
On 23 Mar 1997, Al wrote:

> In my experience, most newsfeed peers can't keep up with Diablo. The only thing
> you could try would be an obscenely large number of concurrent feeds, but even 
> that wouldn't necessarily help.

    In my experience, there are two common reasons a peer might backlog,
and one can be helped with parallel feeding.  Network bandwidth (and
responsiveness) is that thing.  Crashes and other outages don't help
matters much either.

    If your peers are not limited by bandwidth, then they will backlog if
they simply cannot keep up with a full feed, most likely being I/O-bound
writing to the spool, or perhaps searching the history database.  No
amount of parallel connections will enable a slow machine to keep up.
Depending on how your peer is fed, increasing the number of connections
would have the effect of crowding out its other incoming feeds, giving an
apparent increase in the number of articles you send it, at the expense of
articles it gets from other peers.  But no amount of force-feeding is
going to be able to give 320 000 articles to a peer which is physically
incapable of writing more than 250 000 per day to disk, or even less.

    On the other hand, parallel feeding to a slow peer can help in that
you can prioritize certain articles based on group or size or whatever,
even without resorting to the parallelism of innfeed.  If you configure
your newsfeeds file to sort your single entry into multiple entries, say,
one containing the most important groups, the second poison-pilling these
groups in INN 1.5* with @groupname entries, then the groups you deem
important can get through with the remainder falling behind.  Or you can
divide by size, with the intention of penalizing oversize articles. 

    This doesn't change the fact that the peer simply cannot keep up with
the feed.  If you can telnet locally to the NNTP port of your server when
it is getting its standard feed and the banner greeting is not
instantaneous, INN is waiting for some I/O to complete before it can
service your request, and your machine is lagging.  (Substitute your
flavor of news server software wherever I've referred to INN.) 

    Even a responsive peer will seem to fall behind if your network
connection to it is not fast.  I feed one site with some 200 000 articles
a day on a good link where a single connection is adequate.  But as soon
as I try to deliver the same number of articles to a peer that is half a
second or so RTT away, the single connection just won't do.  If I'm only
giving around 50 000 articles a day, I may need 2 to 4 parallel
connections to keep from building backlogs, depending on the number of
CHECK commands I issue.  At times like late afternoon in this part of the
world, I may still see increasing backlogs with 6 connections, which clear
out in early morning when the news traffic is highest.

    For example, by weekdays, my server may not be able to keep up with
the best-shot feeds it gets over 2 to 4 parallel connections, and may
cause the sending site to drop tens of thousands of articles or more, yet
I can still handle 330 000 articles comfortably -- just not over those
links at that time.  But on the weekend, the number of articles I couldn't
keep up with drops to hundreds or sometimes zero.

    Adapting a parallel feeding mechanism to Diablo would certainly
improve performance to this part of the world, 14 hops and 500 ms away
from Best, with 20% packet loss on a weekend (sometimes 50% by weekday),
not because my server sucks, but because the lines are overloaded.  I'd
guess that many peers fed by Diablo are in the same situation, while there
are others which plain and simply just cannot keep up no matter whether
you hit them with one, four, or 80 parallel connections.


Barry Bouwsma, Radio Praha news disservice


Technical Details
Message-ID: <Pine.LNX.3.93.970323231500.6808b-100000@radostne-vanoce.radio.cz>
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: <5h1r3f$d2t@epimetheus.algonet.se> <5h416e$mev@flea.best.net> <5h44j4$86k$1@news.aimnet.com>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.93.970323231500.6808b-100000@radostne-vanoce.radio.cz>
Subject: Re: Some Diablo questions!
Date: Mon, 24 Mar 1997 00:00:00 +0000
From: Cracker Buster <luser@Radio.CZ>
References: <5h1r3f$d2t@epimetheus.algonet.se> <5h416e$mev@flea.best.net> <5h44j4$86k$1@news.aimnet.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: 227810389
Organization: Radio Praha -- Cesky Rozhlas 7
Reply-To: ag786@yfn.ysu.edu
Newsgroups: news.software.nntp
NNTP-Posting-User: luser