Application Servers White Papers

An Analysis of Database-Driven Mail Servers

Overview This paper compares the performance of three different IMAP servers, each of which uses a different storage mechanism: Cyrus uses a database built on BerkeleyDB, Courier-IMAP uses maildirs, and UW-IMAP uses mbox files. A mySQL database is also used to simulate a relationaldatabase-driven IMAP server. It was found that Cyrus and mySQL outperform UW and Courier in most tests, often dramatically beating Courier. Cyrus is particularly efficient at scan operations such as retrieving headers, and it also does particularly well on searches on header fields. UW and Cyrus perform similarly on full-text searches, although Cyrus seems to scale slightly better as the size of the mailbox grows. mySQL excels at full-text searches and header retrieval, but it performs poorly when deleting messages.

Further White Paper Details
PublisherPresident and Fellows of Harvard College File FormatPDF
Date PublishedOctober 2003
FormatWhite Papers   
Topics

Quick Sitemap Links: