I'm looking into making db_getmailbox as cheap and fast as possible
while still remaining reliable, so I can throw it in where-ever the
mailbox state is accessed, without having to worry about performance
too much.
Yeah, on a tricked out amd64 class system w/ a fast 3ware 9K card, I'm
only able to upload one message every two seconds.... performance is
in dire need of attention.
It's doing a resync after each message? Each resync is taking many,
many, many seconds to complete. I started uploading 4K msgs before
that last email, it's still running and the time to complete for each
message upload is now approaching ten seconds per message. I'm
guessing each resync gets progressively more expensive as the size of
the mailbox increases. Is there anyway to have it do a resync only at
the end of the series of uploads or have it happen periodically? After
every message upload seems a tad excessive, though maybe necessary.
*shrug* -sc
--
Sean Chittenden