πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90058

Re: Not very useful logging information

#90058
From: Russ Allbery
Date: Fri, 03 Feb 2023 19:22
25 lines
2237 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

> I don't know whether it could be of help for your usage, notably for the
> reduced CPU amount needed for filtering across several intermediate
> feeders.

I suspect the available filtering software is fairly inefficient on CPU
cycles, although that's a much harder problem to solve.  Last time I
looked at it, it was tons of regex matches written in languages that
aren't the fastest.  I know Jeremy Nixon did a lot of benchmarking and
optimization of the regexes back in the day, but I'm not sure if those
optimizations still work with the latest Perl or have been carried
forward, and I suspect Python will be even slower.  (The Perl regex engine
is terrifying, but it's absurdly optimized.)

For something like binary detection, there are probably optimization gains
to be had, but it would be a lot of development work.  (Spam detection is
a lot harder and inherently seems to involve a lot of complex pattern
matching.)

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <871qn6eeqd.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <20230131155925.36dd4013@wibble.sysadmininc.com> <trinb5$2os4$1@nnrp.usenet.blueworldhosting.com> <triodh$f43$1@rasp.pasdenom.info> <trionq$om1$1@nnrp.usenet.blueworldhosting.com> <triplu$1p5r$1@nnrp.usenet.blueworldhosting.com> <trjm6p$if11$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <871qn6eeqd.fsf@hope.eyrie.org>
Subject: Re: Not very useful logging information
Date: Fri, 03 Feb 2023 11:22:18 -0800
From: Russ Allbery <eagle@eyrie.org>
References: <20230131155925.36dd4013@wibble.sysadmininc.com> <trinb5$2os4$1@nnrp.usenet.blueworldhosting.com> <triodh$f43$1@rasp.pasdenom.info> <trionq$om1$1@nnrp.usenet.blueworldhosting.com> <triplu$1p5r$1@nnrp.usenet.blueworldhosting.com> <trjm6p$if11$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: hope.eyrie.org; logging-data="5826"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:fV0d+4v75mHSWIHT4S8X8+0raSg=