Scaling IMAP Idle Service
Emery Haddy
21
Reputation points
Working on an application that will monitor user's mailboxes. This can be done using IMAP idle to receive real time messages, however we are trying to figure out the best way to scale this service. When a user logs in a request will be sent to start monitoring the mailbox. Any new messages will then be pushed to the user. When a user logs out a request will be sent in to stop monitoring the mailbox and the IMAP idle will receive the cancellation token. What's the best way to scale a background processing service that could be continuously running for hours?
Sign in to answer