[Dovecot] dbox support state
skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Fri Dec 22 07:14:37 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 21 Dec 2006, Timo Sirainen wrote:
> One optimization left for it would be to not store flags and keywords to
> the dbox files at all, but keep everything in index files. Once I get
> that implemented, I'll start benchmarking it. Of course the problem with
> that is that it relies on index files completely then.
IMHO this is not good for disaster recovery and makes life needlessly hard
in such case. Esp. when both files become out-of-sync, you need a cunning
tool to re-construct any good state, rather than a simple "REINDEX". This
should apply to each kind of "index" file. Also, consider upgrades to
newer index file formats etc.pp.
Are there really that many writes of message attributes? I mean, there is
only an improvement because you have just one write into the indexes
rather than two, one to the indexes and one into the message.
You've wrote that you reserve space for the flags in mbox, in case they
get updated, so you reduce the probability to rewrite the whole mbox for
each flag. Doing so should apply to dbox as well?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the dovecot