Article View: news.software.nntp
Article #16215Re: Selective Reception of Newsgroups using INN 1.5.1
From: Chrisy Luke
Date: Mon, 24 Mar 1997 00:00
Date: Mon, 24 Mar 1997 00:00
39 lines
2670 bytes
2670 bytes
On 24 Mar 1997 00:30:08 GMT, the Killer Plum Squad forced per@erix.ericsson.se (Per Hedeland) to write: >Then so be it, I'd say - innfeed is still the wrong place to do this, >IMHO. Innd has a very efficient mechanism to handle the feed lists, >whereas innfeed, doing this second-guessing, presumably would have to >parse the article headers (which innd already did, of course) to find >out which newsgroups they're going to, and search through potentially >long lists of unwanted groups to decide if it should really send them. For newsgroup parsing, I agree, however there is an area similar to this where post-processing in innfeed *is* more efficient. Consider the scenario where you have a large number of almost identical feeds, going via innfeed. If you specified an entry for each in newsfeeds, each one would generate a message down the pipe to innfeed. Many * ~300,000 articles/day = lots of memory thrashing. I've defined an "expander" in innfeed that alows you to define a number of feed "types", say "all", "all-clean" (which has things like *,!*sex*), "euro" etc, innfeed.conf then allows you to direct these feeds to a sites queue. It just takes a reference to an article in memory, that's it. The only further post-processing is to pattern-match the Path header to stop needless article offerings. I do a simple substring match. This works for me because I feel INN should worry more about accepting articles. If I can reduce the newsfeeds entries from 70 to 5, that's quite a few more cycles spent listening, particularly when most of those entries are almost identical - usually it's only the Path restrictions that differ. Chris. == chrisy@easynet.net, chrisy@flirble.org, chrisy@etsiig.uniovi.es == Newsmaster and Senior Systems Developer for Easynet Group Plc. == I recently saw a Flirble, in the bushes on Regents Park. It == frowned at me and said "If it were Wimbledon you wouldn't stare!"
Technical Details
Message-ID:
<33466b3f.146845888@news.flirble.org>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-mailReferences:
<5gn6fr$gi5@ecom2.ecn.bgu.edu> <yy3iv2mzyqu.fsf@velo.pp.vix.com> <5gtn8c$gjt@soap.uunet.pipex.com> <yy3afnxqb94.fsf@velo.pp.vix.com> <5h4hug$75t$1@news.du.etx.ericsson.se>Show Full Headers
Complete Article Headers
Message-ID: <33466b3f.146845888@news.flirble.org> Subject: Re: Selective Reception of Newsgroups using INN 1.5.1 Date: Mon, 24 Mar 1997 00:00:00 +0000 From: chrisy@easynet.net (Chrisy Luke) References: <5gn6fr$gi5@ecom2.ecn.bgu.edu> <yy3iv2mzyqu.fsf@velo.pp.vix.com> <5gtn8c$gjt@soap.uunet.pipex.com> <yy3afnxqb94.fsf@velo.pp.vix.com> <5h4hug$75t$1@news.du.etx.ericsson.se> 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: 227931447 Organization: Systems Group, Easynet Ltd. Newsgroups: news.software.nntp