On Mon, 26 Apr 2004, Kelsey Cummings wrote:
Even better - hack the LDA to encode the size into the name of the message like './new/1082945416.7901_0.a.lds,S=2161' which allows the pop server to build the UIDL and LIST directly from READDIR. No stats, no opens, no reads. It's a beautiful thing. Users are able to load boxes > 100k messages in fraction of seconds with virtually no load on the NetApss.
Care to share your patch? Or at least some clue of what to hack?
Other important hacks to courier are to make it batch moves and unlinks until the end of the session, allowing for faster logins. Do any box maintenance like moving from /new to /cur or removal of messages AFTER the client has disconnected. I also recomend truncating the hostname in the maildir message to save on directory space. Our only concern with Maildir on the netapp is that a user could reach the max_directory size and strange things would start to happen.
And this patch too?
--mendonan "Yang mimpikan secangkir kopi panas dengan selimut.." (Dreaming of a cup of hot coffee, and a blanket..")