Dynamics CRM 2011 Load Balance Email Router - TechNet Articles - United States (English) - TechNet Wiki

Dynamics CRM Load Balance Email Router

We can load balance emails in dynamics CRM with a few customization steps using multiple email routers. The concept is simple, I use a workflow to generate emails and assigned those emails to specific users (service accounts). I link those users to a custom entity which will round robin (load balance) between them. On the same custom entient-fragment-inner">

Dynamics CRM 2011 Load Balance Email Router

ELSE
IF @counter = 3
    
The last step is to configure each Email Router to process email for the specific user. In order to do this the email router configuration file needs to be manually customized, adding the user ID and the update period set to 0. For more information on how to do this and understand the concept read of my articles on how to install email router on multiple servers:
http://quantusdynamics.blogspot.com/2012/02/dynamics-crm-installing-email-router-on.html 


Using Queues
It's possible to use the same concept but instead of users we can use queues. The process is the same, however we will need extra steps.
 The following diagram illustrates the same concept:




Conclusion
The concept works perfectly and is very reliable. You can extend the solution to provide some resilience implementing SQL scripts to move emails to different users in case the email router has crashed. 

I hope you enjoyed it.

Regards
Nuno  Rodrigues Costa
 C:\My\Blog\Dynamics\CRM