[email protected] (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.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)