🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41550

Diablo patches (mostly reader-side)

#41550
From: Nickolai Zeldovich
Date: Mon, 15 Nov 1999 00:00
36 lines
2167 bytes
Here are some modifications I've made to Diablo in order to make the
reader support work better; the major changes are:

 -- Support for expiration based on spool content instead of 'x' value
    in dexpire.ctl (either by doing a dhistory lookup for each article
    in overview, or using a file written by dexpire as articles which
    have been removed). The latter is faster but more fragile. I run
    the dexpire-file method daily and dhistory-lookup weekly.

 -- Read-only mode for diablo: when the dhistory file is being rebuilt,
    disallow incoming feeds or article postings, but still allow the
    reader to retrieve articles. For posting, I point my reader at both
    the local server and the 'feed' server, whose dhistory rebuilding
    times are out of phase.

 -- Added a simple way of throttling incoming feeds by doing nanosleep()
    every N lines read from the network. Useful in certain situations.

 -- Periodic overview file handle cache flushing in dreaderd, to allow
    dexpireover to resize/rewrite more groups (assuming a load of fewer
    than ~8*readerforks active readers during dexpireover run)

There are also various bugfixes, and some changes that might only be
useful in my particular situation (such as removing ident checking).
These changes in diff -u format can be obtained at:

  http://web.mit.edu/kolya/usenet/patches/

I think people running (or considering using) diablo with dreaderd might
be interested in this. If you end up using these patches, or notice bugs
or potential problems, feel free to let me know. :)

-- Nickolai Zeldovich.


Technical Details
Message-ID: <slrn82v862.509.kolya@pepsi.mit.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

Show Full Headers
Complete Article Headers
Message-ID: <slrn82v862.509.kolya@pepsi.mit.edu>
Subject: Diablo patches (mostly reader-side)
Date: Mon, 15 Nov 1999 00:00:00 +0000
From: kolya@MIT.EDU (Nickolai Zeldovich)
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: 548714813
Organization: Massachvsetts Institvte of Technology
Reply-To: kolya@MIT.EDU
Newsgroups: news.software.nntp