speed Re: [Dovecot] New index / mailbox API

Jonas Bosson jonas at illuminet.se
Tue Nov 25 10:08:48 EET 2003


Timo Sirainen wrote:
> On Mon, 2003-11-24 at 14:19, Farkas Levente wrote:
>>another thing which always come to my mind when think about speed:
>>why we do the indexing when we look into the folders, since IMHO it'd be
>>more efficient if we do it at the mail delivery time. the mail arrival
>>is more balanced during the time, so the system load is more balanced.
>>so there can be
>>- one optional deivery helper application which can do the indexing
>>during the deivery time,
>>- indexing during remove, move, copy etc. imap operations,
>>- and the current (eg, the new indexing engine) if someone do not use
>>the delivery helper apps.
> 
> 
> Yep, this has been in TODO for a while. Once this is possible it's also
> simple to add support for UIDPLUS extension. And update mailbox quotas
> quickly and accurately. It's a bit difficult to implement to 0.99.10
> code base, but should be pretty easy to add to current CVS. Once new
> indexing works, I'll add this immediately.
> 

And this would be as easy as to write a stdin -> imap-append app to go 
with procmail etc? And this would not trigger reindexing, but rather 
just index the appended part, am I wrong?

/Jonas (just done that for java, but can rewrite it into c...)





More information about the dovecot mailing list