Article View: news.software.nntp
Article #32869Re: De-spamming a diablo newsfeed?
From: Matt Dillon
Date: Wed, 11 Nov 1998 00:00
Date: Wed, 11 Nov 1998 00:00
36 lines
2107 bytes
2107 bytes
:In article <87af1yhw9t.fsf@erlenstar.demon.co.uk>,
:Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
:>>>>>> "Jeremy" == Jeremy <jeremy@exit109.com> writes:
:>
:> Jeremy> The ideal thing would be for servers like Cyclone and Diablo
:> Jeremy> to have an embedded Perl.
:>
:>Unlikely. You've seen the problems with embedding it in innd, where
:>doing stuff like loading db modules tends to gronk the server.
:>
:> Jeremy> The next best thing would be a little C program that runs on
:> Jeremy> the external filter interface, embeds Perl, and implements
:> Jeremy> the superior INN-style filter interface. Presumably such a
:> Jeremy> program could suck in articles and parse them faster than
:> Jeremy> regular Perl code.
:>
:>I doubt if the difference would be that great.
:>
:>(Hint: have you tried an approach like setting $/ = "\r\n.\r\n" and
:>reading the whole article in one shot?)
:>
:>--
:>Andrew.
What we really need to do is be able to pass a file descriptor and
offset/size information to the filter rather then try to stuff the
article to it. The filter could then mmap() the article.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Technical Details
Message-ID:
<72ctd4$8is$1@flea.best.net>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:
<brad-1011981913570001@brad.techos.skynet.be> <87g1bqliwb.fsf@erlenstar.demon.co.uk> <72cjf6$foc$1@east44.supernews.com> <87af1yhw9t.fsf@erlenstar.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <72ctd4$8is$1@flea.best.net> Subject: Re: De-spamming a diablo newsfeed? Date: Wed, 11 Nov 1998 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <brad-1011981913570001@brad.techos.skynet.be> <87g1bqliwb.fsf@erlenstar.demon.co.uk> <72cjf6$foc$1@east44.supernews.com> <87af1yhw9t.fsf@erlenstar.demon.co.uk> 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: 410846782 X-Trace: nntp1.ba.best.com 910817512 12773 dillon@206.184.139.131 Organization: BEST Internet Communications, Inc. www.best.com Newsgroups: news.software.nntp