25 Aug
2003
25 Aug
'03
2:33 p.m.
On Monday, Aug 25, 2003, at 12:09 Europe/Helsinki, Matthias Andree wrote:
Or maybe it'd work if I just grabbed exclusive lock whenever reading header sizes. They could be then copied into memory to avoid locking more than once. But that still creates locking contention if lots of clients are reading the mailbox. Exactly in the situation where I'd mostly use mboxes..
Would not one rather use Maildir and assume the Kernel caches directory data? No locking contention...
For read-only mailboxes it's much faster to read a single mbox file than to keep opening multiple maildir files. And when you're only reading mboxes, there's no lock contention.