🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #22162

Diablo feeder lag? (was Re: Accuracy of Freenix Top 1000)

#22162
From: Jeff Garzik
Date: Tue, 07 Oct 1997 00:00
48 lines
2561 bytes
Tsar Barry BOFHwsma  <ag786@yfn.ysu.edu> wrote:
>    Anyway, my experience has been that sites which have switched over to
>Diablo from some other high-performance software (including a well-tuned
>INN), have dropped from providing me with a major source of articles, to
>only giving me a mere handful.  So there's some sort of barrier to rapid
>turnaround.  And not just seconds.  My articles can pass through two
>nntpsend hops yet still be accepted by another site fed by Diablo.


Actually this makes complete sense when you think about it.

The first slowdown is real-time feeding.  Diablo only opens a *single*
stream for real-time feeds.  It does a tail on the current batch file,
waiting for data on new articles at the end, and offering those
articles to the downstream site.


The second slowdown is in batch queue processing.  Once every five
minutes, the active batch file (used for real-time feeding) is given a
sequence number (1, 2, 3, ...) and stored on the batch queue.  Diablo
then starts up to N parallel feeder processes (1 stream per process)
to offer the articles listed in each batch file -- starting with the
oldest batch file.

It's easy to conceive a scenario where:  5,000 articles arrive in five
minutes; Diablo offers 1,000 of those articles to the downstream site,
and then the active batch file is rotated.  If there is any backlog,
the other 4,000 articles won't be sent until all the other backlog
is cleared out.

For a site with a rotation period of five minutes and a backlog of
ten batch files, those other 4,000 articles might not be offered for
twenty minutes or more.


Hacking Diablo to feed from the latest batch file to the earliest
might be a good idea -- it will have less of an adverse impact on
downstream sites' caches that way.

	Jeff


-- 
Often statistics are used as a drunken man uses lampposts -- for support
rather than illumination.

Technical Details
Message-ID: <61dl7g$gnb$1@havoc.gtf.gatech.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: <Pine.LNX.3.96.971007154523.1602G-100000@marley.vszbr.cz>

Show Full Headers
Complete Article Headers
Message-ID: <61dl7g$gnb$1@havoc.gtf.gatech.edu>
Subject: Diablo feeder lag? (was Re: Accuracy of Freenix Top 1000)
Date: Tue, 07 Oct 1997 00:00:00 +0000
From: Jeff Garzik <jeff.garzik@spinne.com>
References: <Pine.LNX.3.96.971007154523.1602G-100000@marley.vszbr.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
X-Deja-AN: 279149378
Sender: garzik@havoc.gtf.gatech.edu
Organization: Very Slack
Newsgroups: news.software.nntp