🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Richard Tue, 15 Apr 2025 18:55
Doing everything asynchronously
#267741
Author: Richard
Date: Tue, 15 Apr 2025 18:55
20 lines
1971 bytes
[Please do not mail me a copy of your followup]

I posted a discussion on trn about this here:
<https://github.com/LegalizeAdulthood/trn/discussions/21>

I'd be curious to know if there are any other open source news readers
that do this ... do as much work concurrently (multi-threaded) or
asynchronously (single or multi-threaded) ahead of time while waiting
for user input.

If you have particular comments about trn, please post on the
discussion so it's all in one place :)

-- Richard

-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
            The Terminals Wiki <http://terminals-wiki.org>
     The Computer Graphics Museum <http://computergraphicsmuseum.org>
  Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
Re: Doing everything asynchronously
#267742
Author: Colin Macleod
Date: Thu, 17 Apr 2025 20:08
21 lines
3046 bytes
legalize+jeeves@mail.xmission.com (Richard) posted:
> 
> I'd be curious to know if there are any other open source news readers
> that do this ... do as much work concurrently (multi-threaded) or
> asynchronously (single or multi-threaded) ahead of time while waiting
> for user input.

It's a very different architecture, but in my Newsgrouper (web gateway to
usenet) I prefetch various things.  E.g when a user enters a discussion
thread I queue up jobs to prefetch any new articles in that thread.
These jobs are then processed by separate "newsgetter" processes which
write them into a Redis cache so they can be returned immediately if the
user goes on to read them.  I run 4 newsgetter processes, each has an nntp
connection to the usenet server, so multiple articles can be fetched in
parallel.  The code is at:
https://chiselapp.com/user/cmacleod/repository/newsgrouper/home

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

Fool/Stack Developer.
Re: Doing everything asynchronously
#267747
Author: Richard
Date: Fri, 25 Apr 2025 03:12
14 lines
1833 bytes
[Please do not mail me a copy of your followup]

Colin Macleod <user7@newsgrouper.org.invalid> spake the secret code
<1744920530-7@newsgrouper.org> thusly:

>[...]  The code is at:
>https://chiselapp.com/user/cmacleod/repository/newsgrouper/home

Is this a mercurial repository?
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
            The Terminals Wiki <http://terminals-wiki.org>
     The Computer Graphics Museum <http://computergraphicsmuseum.org>
  Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
Re: Doing everything asynchronously
#267749
Author: Colin Macleod
Date: Fri, 25 Apr 2025 10:43
16 lines
2565 bytes
legalize+jeeves@mail.xmission.com (Richard) posted:
> 
> Colin Macleod <user7@newsgrouper.org.invalid> spake the secret code
> <1744920530-7@newsgrouper.org> thusly:
> 
> >[...]  The code is at:
> >https://chiselapp.com/user/cmacleod/repository/newsgrouper/home
> 
> Is this a mercurial repository?

No it's Fossil - https://fossil-scm.org/

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

Fool/Stack Developer.
Re: Doing everything asynchronously
#268863
Author: Anthk GM
Date: Sat, 21 Nov 2026 00:34
20 lines
1768 bytes
On 2025-04-15, Richard <legalize+jeeves@mail.xmission.com> wrote:
> [Please do not mail me a copy of your followup]
>
> I posted a discussion on trn about this here:
><https://github.com/LegalizeAdulthood/trn/discussions/21>
>
> I'd be curious to know if there are any other open source news readers
> that do this ... do as much work concurrently (multi-threaded) or
> asynchronously (single or multi-threaded) ahead of time while waiting
> for user input.
>
> If you have particular comments about trn, please post on the
> discussion so it's all in one place :)
>
> -- Richard
>

Well, in my case "asynchronous" means batch download/upload 
everything while being offline the rest of the time (99%).
Ditto with email and mbsync/msmtp.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads