Is it possible to optimize? - WeOnlyDo Discussion board

Is it possible to optimize? (General questions)

by ab, Thursday, March 17, 2011, 13:59 (4811 days ago)

Hi WOD!
We just continuing to optimize work of our IMAP server.
And we have a question about ListMessages event.
Currently we have to fill Folder with messages from database every new user session. For example for folder with 10000 messages it is a 10000 ImapMessages have to be created and added to ImapFolder each connection time. Is it possible to avoid fetching old messages, which were already sent to client, and add to folder only new messages. I guess when connected, IMAP client request only messages with UID > some stored value for this folder. So is it some way to get this UID and skip all olders?
Thanx for advance.
Anton


Complete thread: