🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40121

Re: news spool area exported from NFS

#40121
From: mooring
Date: Fri, 24 Sep 1999 00:00
32 lines
2287 bytes
In article <ruenrp3flg780@news.supernews.com>,
Jeremy  <jeremy@exit109.com> wrote:
>Russ Allbery  <rra@stanford.edu> wrote:
>
>>> Would it really be useful to attempt to filter on message-ids within
>>> cleanfeed or somesuch?
>> 
>> Ask Jeremy; IIRC, he was doing it for the job-spew from headhunter.net and
>> said it was faster than rejecting a whole article and then doing history
>> lookups against the rejected message ID.  Remember, looking things up in
>> the history file often requires disk I/O whereas Perl filtering just
>> requires processor speed, and you often have way more processor than disk.
>
>Yeah, I was using it on HeadHunter.Net stuff, and /none\d+\.yet>/ spam,
>stuff like that.  It was a patch someone sent me, and it seems to work
>well, though only on INN of course.

That would be me. It really was faster. Of course, I was attempting to cope
with MCI/C&W's idea of a full feed on a Sparc 10 (36MHz) with 3 old full-height
5.25" 1.3G drives for a spool. The poor beast was running 97% disk utilization
and 30% CPU. On more modern hardware, it's probably less of a win.

Another thing to remember is that rejecting an article results in a call to
syslog(), meaning IPC and a disk write, where the Perl filter as implemented
just results in an overall reduction of network I/O.

It was also my first shot at adding to INN's perl callbacks. 

-- 
Ed Mooring (edward.mooring@wcom.com)

Technical Details
Message-ID: <7sekd1$aj$1@newsbudd.Tymnet.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: <7rhmg7$gmh$1@coco.singnet.com.sg> <brad-2009991249140001@brad.techos.skynet.be> <yllna1etcm.fsf@windlord.stanford.edu> <ruenrp3flg780@news.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <7sekd1$aj$1@newsbudd.Tymnet.COM>
Subject: Re: news spool area exported from NFS
Date: Fri, 24 Sep 1999 00:00:00 +0000
From: mooring@tymnet.com
References: <7rhmg7$gmh$1@coco.singnet.com.sg> <brad-2009991249140001@brad.techos.skynet.be> <yllna1etcm.fsf@windlord.stanford.edu> <ruenrp3flg780@news.supernews.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: 528880781
X-Complaints-To: usenet@newsbudd.Tymnet.COM
X-Trace: newsbudd.Tymnet.COM 938136801 339 131.146.3.14 (24 Sep 1999 01:33:21 GMT)
Organization: MCI Data Services Engineering, San Jose
NNTP-Posting-Date: 24 Sep 1999 01:33:21 GMT
Newsgroups: news.software.nntp