Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <sj@extundo.com>
Cc: ding@gnus.org
Subject: Re: nnimap: article moving
Date: 02 Jan 2001 11:13:53 +0100	[thread overview]
Message-ID: <ilug0j2qn1a.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <87elymc13u.fsf@lovi.inf.elte.hu>

NAGY Andras <nagya@inf.elte.hu> writes:

> Been curious how efficiently nnimap works

Nnimap is painfully slow.

At some point (or rather an interval) in time, I hope to extend the
Gnus<->backend interface to make IMAP groups work much faster.  Don't
blame IMAP for nnimap speed, IMAP can be very fast.

Two hints to speed things up considerably (at least if your reading
habits are close enough to mine):

(setq gnus-keep-backlog 10
      gnus-asynchronous t)

> and made the following test: select an nnimap group, do not view any
> articles, but select one in the summary buffer.  Press B m
> (gnus-summary-move-article), enter a mailbox name on the same
> (physical and virtual) server, press ENTER and leave the group.
> 
> I'd expect nnimap to do a server-side move (copy uid and mark as
> deleted), without downloading the article.  Unfortunately, the article
> is downloaded _two times_, but interestingly, not uploaded again, so
> the server-side move actually takes place, but why the download then?

Nnimap does not know that the target is a nnimap group at the time the
article is fetched.  So it download the article and save some
variables, and if nnimap is later invoked with an instruction to
"accept" a new article, it notices the variables and simply invoke a
"move" command rather than uploading the article.

As for downloading the article twice, that's simply stupid.  imap.el
actually cache stuff so nnimap should take advantage of that.
However, perhaps `gnus-keep-backlog' work too?

Perhaps the Gnus Move command can "hint" to the backend what the
target group is.  Hm.




  parent reply	other threads:[~2001-01-02 10:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-01 23:19 NAGY Andras
2001-01-01 23:24 ` NAGY Andras
2001-01-02 10:13 ` Simon Josefsson [this message]
2001-01-02 19:54   ` nnimap bottlenecks? (Was: nnimap: article moving) Steinar Bang
2001-01-02 21:09     ` Simon Josefsson
2001-01-03  8:02       ` Soeren Laursen
2001-01-04  8:39         ` Simon Josefsson

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=ilug0j2qn1a.fsf@barbar.josefsson.org \
    --to=sj@extundo.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).