From: James Cloos <cloos@jhcloos.com>
To: ding@gnus.org
Subject: Re: fast list
Date: Sun, 17 Oct 2010 18:58:16 -0400 [thread overview]
Message-ID: <m3iq10pgtb.fsf@carbon.jhcloos.org> (raw)
In-Reply-To: <m3mxqcxyti.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Mon, 18 Oct 2010 00:02:33 +0200")
>>>>> "LMI" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
JC> RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN))
LMI> That doesn't really help Gnus all that much, since Gnus needs to do a
LMI> marks resync, and getting the numbers of each of these won't give Gnus
LMI> the data it needs.
LMI> If they'd implemented LIST RETURN QRESYNC instead, that would have been
LMI> awesome.
What, exactly, does gnus need for each group?
DBmail doesn't store arbitrary marks, so I don't need mark syncing for
gnus' internal marks.
I don't have a recent packet trace, but doesn't it just do a LIST
followed by either EXAMINE or STATUS? LIST-STATUS does that pair
of ops in a single op. And that has to speed startup.
I expect that:
LIST "" "%" RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN))
will take less than one second whereas running STATUS or EXAMINE on
every group returned by LIST takes about fifteen minutes.
I can ensure that my patches to dbmail support more than just messages,
recent, uidnext, uidvalidity and unseen if that helps.
BTW, based on:
http://permalink.gmane.org/gmane.mail.imap.dovecot/51621
it looks like dovecot 2.0 also supports LIST-STATUS.
-JimC
--
James Cloos <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
next prev parent reply other threads:[~2010-10-17 22:58 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-17 5:15 James Cloos
2010-10-17 22:02 ` Lars Magne Ingebrigtsen
2010-10-17 22:58 ` James Cloos [this message]
2010-10-18 19:10 ` Lars Magne Ingebrigtsen
2010-10-18 20:49 ` James Cloos
2010-10-18 21:03 ` Lars Magne Ingebrigtsen
2010-10-18 23:17 ` James Cloos
2010-10-18 23:38 ` Lars Magne Ingebrigtsen
2010-10-19 16:00 ` James Cloos
2010-10-19 16:13 ` Steinar Bang
2010-10-19 18:12 ` Lars Magne Ingebrigtsen
2010-10-19 20:56 ` James Cloos
2010-10-19 18:12 ` Lars Magne Ingebrigtsen
2010-10-19 21:05 ` James Cloos
2010-10-20 0:07 ` Lars Magne Ingebrigtsen
2010-10-20 18:47 ` James Cloos
2010-10-21 15:59 ` Lars Magne Ingebrigtsen
2010-10-21 19:13 ` James Cloos
2010-10-22 14:51 ` Lars Magne Ingebrigtsen
2010-10-19 5:58 ` Steinar Bang
2010-10-19 18:11 ` Lars Magne Ingebrigtsen
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=m3iq10pgtb.fsf@carbon.jhcloos.org \
--to=cloos@jhcloos.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).