🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: newsgrouper.support
Article #56

Re: New cross-group search facility

#56
From: Colin Macleod
Date: Mon, 03 Aug 2026 12:25
41 lines
4022 bytes
Nuno Silva <user17785@newsgrouper.org.invalid> posted:
> > 
> > I can still reproduce it, and it's not specific to the android browser,
> > I logged in on the desktop with SeaMonkey and I get the same. This group
> > and comp.os.linux.misc got posts between the last time I accessed
> > Newsgrouper and now, yet they all show with no new articles in the
> > frontpage table/list.
> > 
> > I'm perhaps too sleepy for proper testing, but I think there's a test
> > that makes sense: I'm posting this via Gnus, and in the following
> > minutes I'll see if the row for this group changes.
> > 
> > The figure of 30 seconds is helpful for testing and to better understand
> > how long it takes to update normally, but right now the page does not
> > change for me even after a few minutes?
> > 
> 
> It did update, but curiously the front page showed 1 new,
> while in the group page it showed a 2 (my post above and
> your reply). Or is the count in the front page the number
> of threads?

The front page and the group page use different caches, so it is possible
for them to get out of step for a short time.  One of these days I may do
some more work to improve the consistency, but I don't think it's an urgent
problem.

If you want to dig into the details you can see the code at:
https://chiselapp.com/user/cmacleod/repository/newsgrouper/file?ci=tip&name=scripts/newshub&ln=75-80
This is in the *newshub* processes, which handle long-running requests so
they don't bog down the webserver process.  "grup" is GRoup UPdate which
gets any new posts for a single group, caching its result for 5 seconds.
"counts" gets all the group counts for one user, caching its result for
30 seconds.

-- 
Colin Macleod ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ https://cmacleod.me.uk

FEED    HOUSE   SAVE    FEED    HOUSE   SAVE    FEED    HOUSE   SAVE
GAZA    GAZA    GAZA    GAZA    GAZA    GAZA    GAZA    GAZA    GAZA
NOW!    NOW!    NOW!    NOW!    NOW!    NOW!    NOW!    NOW!    NOW!
Technical Details
Message-ID: <1785759945-7@newsgrouper.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
References: <1785429703-7@newsgrouper.org> <1785687408-17785@newsgrouper.org> <1785694386-7@newsgrouper.org> <114olbi$see6$1@dont-email.me> <1785715033-17785@newsgrouper.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
From: Colin Macleod <user7@newsgrouper.org.invalid>
Newsgroups: newsgrouper.support
Subject: Re: New cross-group search facility
References: <1785429703-7@newsgrouper.org> <1785687408-17785@newsgrouper.org>
	<1785694386-7@newsgrouper.org> <114olbi$see6$1@dont-email.me> <1785715033-17785@newsgrouper.org>
Date: Mon, 03 Aug 2026 12:25:45 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1785759945-7@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user7
Injection-Date: Mon, 03 Aug 2026 12:25:45 GMT
User-Agent: Newsgrouper/0.9.0
Organization: You cannot be serious!!!
X-Face: ;>4')~8UD=d.R[\.@A;)N{u_j#_=cmLx$}bIc4.3By~hf[q~|cf59?%bLtS)G@w#32G1%7y
 kz`PF}nwv'neqs,&gJm|V!,Xuekf[YIYQB7[Px"t#|rqb20(<F+y~
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAWlBMVEUOqj99lWv/gSb8+vzH
 yfDKcKfawMf/wXL/xwX/0DL/4MgAnuf////woTuJAg9haNWbJVrmDRbf8/wXqt0wOcfWPknT
 or8xStFls+AyPs/XiXvV447V5/JsPbGdJXGAAAAByElEQVRIie2V0XqDIAyFqaGoaKWztSDi
 +7/mkkoVFLbuonfLTeUzP+ckNMjaPwb7Bz4CcB+uh/eA0YdWSvE3mBW4Y4zKvW+JG6XGu+p/
 BYJnMHrkwVrYYbDyB6AFNap1Ie3XMwaZB1oEXnWLAXPtQEikEgNmBWh7C6SDTCGzwN0DmD+I
 l7WiKErIAHoBRNcF1iURGaC5EQDXrgt9EyFTANwaQ7+PrrPRRnKTSAEocN39ScqigDwg9gJP
 QOYBG1fwDrB3lLPU5wC4FJcU4JqGJy1Bpku8aWggjkXLzDngudE8HNtaro7iefDndvBEjsBx
 x40xIcCXEtDT9SpiR1YprTXNcQh4Rxjn+bxNt+NK08yPd7ooAgB7ZPyjQGIxDc9sjamGrqK+
 DwCz9OgZj5kIcI8zbq3nk0jMQyCAG5+RwJjnWRm79SgAACsIbiUiZoJEj8dctkdAMLYJEPFA
 AUFbTEVqpuHEWPoSg7qq4QigwJTMb8uqSl0zWQFZVXW49oBj7JQzFAm8AHSUvrjRUGzVAxNj
 yW8D5tfxiw0Qbj9mUqKfejdLmyWsYon6FVV1zA/b6uNUbVGXB6PrSfdi8gqlFygnmajr89/p
 b4k/bLhxPQ+xAAAAAElFTkSuQmCC
Behaviour: undefined