🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #93008

[UPDATE] cleanfeed-ng RC2: production benchmarks and a shameless request

#93008
From: Ivo Gandolfo
Date: Fri, 24 Jul 2026 19:13
216 lines
8058 bytes
Il 12/07/2026 16:03, Ivo Gandolfo ha scritto:
> Hi everyone,

Hello again,

a small update about cleanfeed-ng after last patch.

The repository has now been public for a little over a week:

     https://github.com/infybofh/cleanfeed-ng

According to GitHub's traffic statistics for the last 14 days, it has
received:

     72 repository clones
     46 unique cloners
     283 page views

There was also a new peak on July 23, with 19 clones from 14 unique
cloners whn I released the latest patch.

For a project as specialized as a Perl transit filter for INN, these
numbers are honestly much higher than I expected.

There is, however, a slightly worrying discrepancy:

     quite a few clones,
     almost no feedback.

Apart from the invaluable testing and comments from Julien, The Doctor
and a few other people, I have very little idea whether the people who
cloned the repository:

     installed it successfully;
     only looked at the source;
     found it unusable;
     are running it without problems;
     encountered false positives;
     encountered false negatives;
     or silently threw it into /dev/null.

So, before begging for feedback, here are some production results from
the RC2 series.

Production test 1: large backfill server
----------------------------------------

The first server is processing a large historical backfill containing
both text and binary traffic.

During one complete 24-hour period:

     Articles passed to the Perl filter:     4,726,375
     Average processing rate:                   54.70 articles/second
     Cleanfeed average processing time:          8.67 ms/article
     Lowest measured hourly average:              7.86 ms/article
     Highest measured hourly average:             9.52 ms/article

Cleanfeed verdicts during the same period:

     Rejected articles:                         547,158
     Structured cleanfeed_event reject lines:   547,158
     INN rejecting[perl] lines:                  547,158

The three numbers matched exactly.  No duplicated reject events and no
missing reject events were found.

There were also no occurrences of:

     filter_art died
     SERVER perl filtering disabled
     cleanfeed-ng fatal
     incomplete initialization
     uninitialized-value errors
     file descriptor exhaustion
     CNFS errors
     overview errors
     history errors

The server was operating near its ingestion limit.  The measured time
was divided approximately as follows:

     Cleanfeed Perl filtering:       47.38%
     INN history operations:         47.19%
     Overview processing:             3.20%
     Everything else:                 2.23%

Article storage itself accounted for only about 0.21% of the measured
processing time, so the storage subsystem was not the bottleneck.

The backfill averaged about 4.7 million articles per day while applying
the complete filter.

Production test 2: normal text-only server
------------------------------------------

The second server has much lighter, ordinary transit traffic and is
configured to reject binary payloads categorically.

During the measured day:

     Calls to filter_art:                 7,424
     Reject verdicts:                     1,184
     Audit events:                           98

For ordinary text traffic:

     Weighted average processing time:     2.79 ms/article
     Median processing time:               2.77 ms/article
     Approximate 95th percentile:          6.00 ms/article

A batch containing large binary articles took substantially longer,
typically about 80-100 ms per article, because the bodies had to be
parsed and classified.

Even during the worst ten-minute binary burst, Cleanfeed consumed only
about 5.4% of the interval and the INN server remained approximately
92.6% idle.

Across the complete period, the server was about 99.5% idle.

Again, no Cleanfeed crashes or automatic disabling of the Perl filter
were observed.

Problems found through production testing
-----------------------------------------

Real-world testing has already uncovered and fixed several issues,
including:

     correct multipart yEnc size validation;
     restoration of the historical allexclude behaviour;
     prevention of duplicate policy reject events;
     correct rule identifiers for policy rejects;
     protection against an undefined MID history queue;
     explicit logging when the embedded Perl version is too old;
     correct statistics generation immediately after a filter reload;
     correct accounting for articles accepted through allexclude;
     a dedicated binary.image reason code;
     warnings when INN has dontrejectfiltered enabled;
     documentation for CLEANFEED_CONFIG_DIR;
     automatic checking and preparation of statistics and metrics paths.

INN's innreport support and documentation have also been updated to
recognize cleanfeed-ng events.



And now the shameless request
-----------------------------

Please send feedback.

Seriously. Even a one-line reply such as:

     "Installed on INN 2.x / Perl 5.x / operating system X.
      Running for N days.  No problems found."

would be extremely useful.

I am especially interested in:

     installation or migration problems;
     INN and Perl versions being used;
     text-only versus binary-capable servers;
     false positives;
     false negatives;
     performance under real traffic;
     confusing configuration options;
     missing documentation;
     unusual MIME or yEnc articles;
     behaviour on systems other than Debian or Ubuntu;
     successful installations with no issues at all.

A minimal report could simply be:

     Operating system:
     INN version:
     Perl version:
     cleanfeed-ng version:
     Server type: text-only / binary / mixed
     Time in production:
     Result:
     Problems or suspicious behaviour:

Please do not assume that silence means I know everything is working.

At the moment I have considerably more clone statistics than human
reports, which is a slightly unsettling way to maintain a transit
filter.

The RC2 series is now running successfully on real production servers.
If no further discrepancies appear during the next few days, I intend
to promote it to the first non-RC cleanfeed-ng release.

So please: if you cloned it, installed it, tested it, disliked it,
removed it, or merely discovered that one of my comments contains a
typo, tell me.

Positive feedback is useful.
Negative feedback is more useful.
Bug reports are extremely useful.
Even "it works here" is useful.

Silence is the only result from which I cannot learn anything.

Thanks in advance to everyone who has already tested it, and especially 
to those who have taken the time to inspect logs and report actual results.



Sincerely,

--
Ivo Gandolfo
bofh.team
Technical Details
Message-ID: <1140dg1$qu29$1@paganini.bofh.team>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
References: <11306rt$3l5ob$1@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: Ivo Gandolfo <usenet@bofh.team>
Newsgroups: news.software.nntp
Subject: [UPDATE] cleanfeed-ng RC2: production benchmarks and a shameless
 request
Date: Fri, 24 Jul 2026 21:13:05 +0200
Organization: To protect and to serve | bofh.team Usenet service
Message-ID: <1140dg1$qu29$1@paganini.bofh.team>
References: <11306rt$3l5ob$1@paganini.bofh.team>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@bofh.team
Injection-Date: Fri, 24 Jul 2026 19:13:05 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="882761"; mail-complaints-to="usenet@bofh.team"; posting-host="ca3d23d300506f3f11929e9e5d272e94"; posting-account="e866cb80c0f3476e2caed44762d90a40";
User-Agent: Mozilla Thunderbird
X-Postfilter: Postfilter-NG 2026.07.5-rc2
Content-Language: it