Amol Kulkarni writes:

Assuming that there will be about 50 mail being uploaded simultaneously and 600 users accesing the same account at the same time - are there any locking issues in courier imap which will come into picture ?


Will there be a problem if say 100 users out of 600 are accessing same mail ?

Merely accessing mail is read-only, and this carries no locking issues.

Locking issues will come up when there's more than just reading or searching mail. Changing a message's flags (unread, read, deleted, etc…), or adding messages into a mailbox carries a tiny possibility that, say for example, a particular message's file gets renamed while another process is in the middle of opening it, for the purpose of reading its contents, or searching it. This will result in an error getting reported to the client.

If an occasional error is acceptable, then it is what it is. IMAP does not technically guarantee concurrent access to a mailbox; IMAP servers are not obligated to implement 100%-reliable concurrent access to a mailbox, and IMAP clients should be prepared to handle an occasional error.

Additionally, in your use case, it really looks like you're using IMAP for use cases it's not intended to be used for. What you need is a real search engine, or a database, not an IMAP server. That's what your application should use, rather than an IMAP server. You need to use the right tool for the right job, and it doesn't look like IMAP is the right tool, here.

Attachment: pgpdLVKlym5rN.pgp
Description: PGP signature

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to