May 21, 2020 08:08 AM|hasnihaider|LINK
Thanks for answering this really helped. I would like to know further about syncing the email.
So let's take the scenario where we are syncing the mailboxes of each user. Now we have one .NET Core background service syncing Office emails and also there might be chances that one account has received so many emails that it is blocking the other users
to be synced. Now Ef Core is not thread safe because during sync we do require refreshing access token several time so those changes has to be stored back in the database.
Assume these figures
10 Office Mail Account being synced after 2 minutes
1-5 Accounts have 230 mails that are to be synced back and forth
6-10 have significantly less number of emails in the queue.
What should be the best way of handling this having maximum performance and don't let user delay their mailbox sync.