[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mailboxes, etc.



On Mon, Oct 27, 2003 at 03:53:08AM -0600, Ron Johnson wrote:
> On Mon, 2003-10-27 at 01:36, Karsten M. Self wrote:
> > maildir.  Much better performance, more flexible, you can access
> > messages as individual files, and more robust.  Plus 'From' doesn't need
> > to be escaped at start of line.
> 
> Why better performance?  If there's lots of messages, directory
> manipulation becomes very slow (at least on IDE drive).

The lots of messages point occurs at around 10-20k messages. And even
then on a decent computer it's ok. Plus if you have a filesystem that
does hashing you never have that problem.

The main gains from Maildir are:
no locking any number of simultaneous programs accessing the mail
without fear of corruption
no rewriting the mailbox if you delete a message in the middle (computer
goes down in the middle of this and you've lost some mail)

Bijan
-- 
Bijan Soleymani <bijan@psq.com>
http://www.crasseux.com

Attachment: signature.asc
Description: Digital signature


Reply to: