Stresstesting IMAP clients (Hackvalue)
Stresstesting IMAP clients (Hackvalue)
Posted Oct 6, 2009 1:08 UTC (Tue) by dlang (guest, #313)In reply to: Stresstesting IMAP clients (Hackvalue) by dwmw2
Parent article: Stresstesting IMAP clients (Hackvalue)
the behavior you are describing for evolution is a perfect example of a POP3 mail client being modified to 'support' IMAP by using the IMAP protocol to fetch everything and then processing it locally.
My dad uses pegasus mail (under wine) and mulberry, he was doing some testing of searches recently and found that pegasus (really a pop client with imap commands) can take hours to search his mailboxes. mulberry takes seconds to do the same search.
pegasus fetches all the messages (in every folder) to do the search, mulberry sends a few IMAP commands:
one or more 'search for X' commands (returns a list of messages), one per folder
thread <list of messages returned by the search commands> (returns messages in threaded order)
for each message that would fit on the screen, fetch the header info for that message.
I'll bet evolution would do the same thing as pegasus (in this case fetch a few hundred thousand messages over several hours)
