Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: ding@gnus.org
Subject: Re: Experimental new Maildir backend
Date: Sun, 17 Jan 2021 19:17:00 +0000	[thread overview]
Message-ID: <87im7v8jbn.fsf@ucl.ac.uk> (raw)
In-Reply-To: <875z3w9nhm.fsf@ericabrahamsen.net>

On Saturday, 16 Jan 2021 at 20:49, Eric Abrahamsen wrote:
> I've been toying with the idea of using sqlite as a store for Gnus'
> caches and data: it seems like that would get us the biggest speedup
> possible. 

This sounds interesting.

I used to use nnmaildir all the time, primarily because I frequently
access my emails from three different devices which I keep in sync using
unison.  The maildir format is ideal for this as there is no chance of
conflict arising if I forget to sync any given device.

However, the performance of the current nnmaildir is atrocious in such a
scenario because the time stamp on the .overview file (I believe -- it's
been a while since I did the analysis) leads to the whole mailbox being
scanned again to build up the numerical indices used by gnus.  The scan
is O(n^3) which becomes intractable when you have 1000s of emails in the
mailbox.

Anything that enables quick scanning/updating of the index for maildir
groups would be a major improvement.


-- 
Eric S Fraga via Emacs 28.0.50 & org 9.4.4 on Debian bullseye/sid



  parent reply	other threads:[~2021-01-17 19:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-16 18:47 Juan José García-Ripoll
2021-01-17  4:49 ` Eric Abrahamsen
2021-01-17  9:01   ` Juan José García-Ripoll
2021-01-17 21:33     ` Eric Abrahamsen
2021-01-18  9:39       ` Juan José García-Ripoll
2021-01-17 19:17   ` Eric S Fraga [this message]
2021-01-17 22:23     ` Eric Abrahamsen
2021-01-18 11:14       ` Eric S Fraga

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=87im7v8jbn.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --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).