🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24241

Re: Diablo 1.13 faster-feed patch?

#24241
From: Joe Greco
Date: Wed, 10 Dec 1997 00:00
39 lines
2264 bytes
In news.software.nntp article <66lbvt$nb0$3@darla.visi.com>, drechsau@yuck.net (Mike Horwath) wrote:
:Dale Ghent <daleg@digex.net> wrote:
:: I heard a rumor that there was a patch for dnewslink that speeds up
:: realtime feeds for 1.13... does it exist, and could someone throw it my
:: way if they have it? :) Thanks
:
:1.14 has an option for this, otherwise the 1.13 stuff I think was done
:by either Mr. Greco or by Mr. Garzik.

When did I become "Mr. Greco"?  :-)  "That's my dear ol' dad!"

I implemented a number of changes to Diablo several versions back to
increase the real-time-ness of the system.  Most significant changes
were rolled back into Diablo as suggested enhancements, but Matt
refused to do my millisecond-sleep thing in dnewslink.

I have not examined the code in 1.14, but it sounds substantially
similar to the main dnewslink modification that I made.

Other comments:  The use of that particular optimization has the nasty
side effect of increasing the load on the machine, as you are essentially
polling the file for new data at a high rate.  This is one drawback with
the queue file strategy of Diablo:  it would have been nicer to have an
inn-style feed mechanism that could have been based on select().

Also, the optimization is useless without the specification of "rtflush".

I keep thinking about these two issues:

1) How to make a pipe()/select() based feed mechanism for Diablo.
2) How to make such a feed mechanism that uses an algorithm to
   evenly distribute new article load over multiple NNTP streams.

These two things are where Cyclone has a huge advantage.

... JG

Technical Details
Message-ID: <66nv24$hfd$1@earth.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: <348E2C6D.446B@digex.net> <66lbvt$nb0$3@darla.visi.com>

Show Full Headers
Complete Article Headers
Message-ID: <66nv24$hfd$1@earth.execpc.com>
Subject: Re: Diablo 1.13 faster-feed patch?
Date: Wed, 10 Dec 1997 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <348E2C6D.446B@digex.net> <66lbvt$nb0$3@darla.visi.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: 297142257
Sender: jgreco@earth.execpc.com
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp