🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50713

Re: Transport server and wanttrash

#50713
From: Russ Allbery
Date: Mon, 19 Feb 2001 06:11
29 lines
2574 bytes
Charlie Cornball <autocyberretributionmeowbot@plink.invalid> writes:

> Remind me not to seek work in any business where I need to think.  I
> guess I missed the business end of things in the patch.  So, since the
> use of an array of groups based on an active file has shown itself to be
> efficient, far more so than the wildcard group pattern matching done by
> other software, for even horrifyingly-complex subscription patterns
> (with the drawback being the time needed to create the array at each
> reload/newgroup increasing for additional groups and additional peers),
> does this ARTsendthegroup usage cause a significant performance penalty?

Not if your patterns are simple, I think, but yeah, if you're using the
really complex patterns like a lot of my newsfeeds do, I think you'll
notice the CPU hit.

> I should try to figure it out from the k0de but I've been batting
> zero for quite some time...

The reason why it wasn't obvious to follow what Andrew's patch is doing is
that the code to feed an article by matching its Newsgroups header was
already in INN.  It was previously just only triggered for newgroup and
rmgroup messages.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yl7l2nurqc.fsf@windlord.stanford.edu>
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!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <vt1yswe31g.fsf@cliwe.ping.de> <vtu25rdhqh.fsf@cliwe.ping.de> <87lmr3zmpn.fsf@erlenstar.demon.co.uk> <96q0kv$g2t$1@warpednews.warpedworld.tele.dk> <ylae7jwcdz.fsf@windlord.stanford.edu> <96q9da$gsv$1@warpednews.warpedworld.tele.dk>

Show Full Headers
Complete Article Headers
Message-ID: <yl7l2nurqc.fsf@windlord.stanford.edu>
Subject: Re: Transport server and wanttrash
Date: Mon, 19 Feb 2001 06:11:39 +0000
From: Russ Allbery <rra@stanford.edu>
References: <vt1yswe31g.fsf@cliwe.ping.de> <vtu25rdhqh.fsf@cliwe.ping.de> <87lmr3zmpn.fsf@erlenstar.demon.co.uk> <96q0kv$g2t$1@warpednews.warpedworld.tele.dk> <ylae7jwcdz.fsf@windlord.stanford.edu> <96q9da$gsv$1@warpednews.warpedworld.tele.dk>
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!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 28
NNTP-Posting-Host: windlord.stanford.edu
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 982563099 8637 171.64.13.23 (19 Feb 2001 06:11:39 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)