Gnus development mailing list
 help / color / mirror / Atom feed
From: Wayne Harris <wharris1@protonmail.com>
To: ding@gnus.org
Subject: Re: is there a possibility for gnus to download data without blocking?
Date: Sat, 22 Aug 2020 12:52:56 -0300	[thread overview]
Message-ID: <86pn7iad9j.fsf@protonmail.com> (raw)
In-Reply-To: <87sgcf558u.fsf@dick>

dick.r.chiang@gmail.com writes:

> I am gratified someone studied my changes.

:-)

> WH> CODA ... and it's not clear what it is or what it does.
>
> CODA merely updates the message counts in *Group* after retrieval threads
> complete.

Why is it called CODA and where is the definition of the procedure?

> WH> But I think the real thing you wanted to know was how he would handle, for
> WH> the situation the intermixing of different servers returning data ...
>
> As the 90s pop song goes, one has to "keep'em separated."  

I think that's ``Come Out and Play'', by Offspring, or something like
that. :-)

> This means making "total war" on the monolithicity of the summary,
> article, and nntp buffers which Gnus has since inception assumed
> global singletons.

My idea is that nearly everything stays as it is.  I think the only
thing that should be ``parallelized'' is the download of data from nntp
servers.

> WH> Same strategy as dickmao's, but using processes, not threads.
> WH> If so, it would be way better if [Gnus] just wouldn't block.  Maybe we
> WH> don't need dickmao's threads after all.
>
> As EA previously stated, shunting all retrieval logic to a separate process B
> still poses the serious problem of integrating B's results in
> the main process A.  

Yes, but I guess the difficulty is nearly the same you're facing with
your threads.  You have to manage the threads; you'd have to manage the
processes.  Are you saying threads are easier to manage than processes?



  reply	other threads:[~2020-08-22 15:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-21  4:06 Wayne Harris
2020-08-21  4:39 ` Eric Abrahamsen
2020-08-21 10:31   ` dick.r.chiang
2020-08-21 17:42     ` Eric Abrahamsen
2020-08-21 14:18   ` Wayne Harris
2020-08-21 17:16     ` Eric Abrahamsen
2020-08-21 20:30       ` Wayne Harris
2020-08-22  2:27         ` Wayne Harris
2020-08-22 10:45           ` dick.r.chiang
2020-08-22 15:52             ` Wayne Harris [this message]
2020-08-22 16:11               ` dick.r.chiang
2020-08-22 17:07                 ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86pn7iad9j.fsf@protonmail.com \
    --to=wharris1@protonmail.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).