🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #3566

News backlog, traffic distribution, expiration strategy

#3566
From: Olaf Titz
Date: Tue, 18 Apr 1995 00:00
64 lines
3783 bytes
Dave Barr <barr@math.psu.edu> wrote:
> As a secondary effect, neighboring sites have to deal with such bursts
> of news flow.  The advent of INN's auto-throttle when it is low on
> space has I think contributed somewhat to the burstiness of news.
> Admins no longer spend as much time tinkering expires -- they're lazy
> and let INN throttle overnight and let it fix itself during the
> expire.  As such I've noticed interesting peaks in news flow at around
> 4-5am (especially thursday til saturday when flow is heaviest) as
> news flow stops before midnight and then the floodgates open after the
> expire finishes.

This shows again that the current implementations are very sensitive to
disruptions. This is not a problem as long as there are enough excess
resources to keep up after a downtime, but some large sites already have
observed that a full feed saturates their _disk bandwidth_(*). Add the
specific NNTP problem that the handshake consumes an extraordinary large
amount of real time and you'll get congestions all over the place.
(*) Arguably, this is a problem of the class that can be solved by throwing
hardware against it, but I doubt this is the solution. Why install a 3090
when a Sparc 20 will do, with optimized software?

So how can this be relieved? Consider that the goal has to be to smooth out
the peaks in the usage of limited resources, i.e. disk space and (disk, CPU
and network) bandwidth. Currently expire runs at fixed times, and the disks
run full at other almost-fixed times, and the goal of news administration is
keeping the time gap between these occurrences right by tuning expire
lists. Not just what I'd call desirable.

An alternative is the expire-on-demand strategy shown by C News XT, or a
continuously running daemon watching disk space and starting appropriate
expires when it runs low. This way you can very effectively avoid downtimes
and subsequent bursts caused by low disk space. Now we just need an
alternative to the NNTP single article ihave-sendme scheme, which
unnecessarily delays the process of keeping up, thus prolonging the bursts
in the traffic distribution. I've already thought of a batched ihave-sendme
protocol designed to minimize network usage and response time:

Client (Feeder)           Server
BIHAVE
                          3xx Ok
<abc@foo.bar>
<def@baz.com>
 (...)
..
                          3xy <bitmap>
BATCH (nbytes)
                          3xz Ok
#! gunbatch
 (...)

<bitmap> could be a hex-encoded number where for each n, the n-th bit is set
if the server wants to get the n-th given message.

olaf

PS. I'm sure these thoughts are an old hat. Please provide me with pointers
on protocol proposals in the making, etc. if appropriate.
-- 
___        Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de       ____
__ o           <URL:http://www.inka.de/~bigred/>     <IRC:praetorius>
__/<_              >> Just as long as the wheels keep on turning round
_)>(_)______________ I will live for the groove 'til the sun goes down << ____

Technical Details
Message-ID: <L87YBICM@inka.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!not-for-mail
References: <3m598s$9ls_001@olivehill.cts.com> <3movtc$ouo@turing.mathworks.com> <3ms1vu$9d4_001@olivehill.cts.com> <3ms940$i8u@soc2.pop.psu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <L87YBICM@inka.de>
Subject: News backlog, traffic distribution, expiration strategy
Date: Tue, 18 Apr 1995 00:00:00 +0000
From: olaf@inka.de (Olaf Titz)
References: <3m598s$9ls_001@olivehill.cts.com> <3movtc$ouo@turing.mathworks.com> <3ms1vu$9d4_001@olivehill.cts.com> <3ms940$i8u@soc2.pop.psu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!not-for-mail
X-Deja-AN: 101461461
Organization: Individual Network Region Karlsruhe e.V.
Newsgroups: news.admin.misc,news.software.nntp