Answered by:
Excessive use of plugins on Dynamic CRM 2011 performance

Question
-
Hi,
As per our requirement we need to write plugins on most of the entities (on both insert-update message). These plugin will be both syncronous and asyncronous.
What could be the impact of excessive use of plugins on Dynamic CRM 2011 performance?
Thanks for your Input!
Vinayak Chavan
Monday, April 22, 2013 5:51 AM
Answers
-
Hi Vinayak,
It's hard to say anything about performance issuses due to plugins. It's a huge difference if a plugin checks for a value and inserts something in another field and a plugin that does multiple retrieves and compares the results from these retrieves and updates multiple entities from those results.
Yes, it could impact performance but it depends, and if the plugins make the workload lighter it might be worth it.
To my understanding it's perfomance wise better to use late binding in the plugins.
Regards
Rickard Norström Developer CRM-Konsulterna
http://www.crmkonsulterna.se
Swedish Dynamics CRM Forum: http://www.crmforum.se
My Blog: http://rickardnorstrom.blogspot.se- Marked as answer by VinayakChavan Monday, April 22, 2013 6:29 AM
Monday, April 22, 2013 6:25 AM -
Hi Vinayak,
If there are too many sync plug-ins it will impact the CRM save / update times. Also a lot of plug-ins is not the right approach for performance reasons. But that depends on how many entities and how many plug-ins you are talking about. It surely has performance hit as each additional item takes some time to process. If all of these are rquired for business purposes, may be you want to look at optimizing CRM server. Look at following articles:
http://technet.microsoft.com/en-us/library/hh413200.aspx
http://blogs.msdn.com/b/darrenliu/archive/2012/06/13/crm-2011-performance-lesson-learned.aspx
Hope this helps.
-----------------------------------------------------------------------
Minal Dahiya
If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"- Marked as answer by VinayakChavan Monday, April 22, 2013 6:29 AM
Monday, April 22, 2013 6:27 AM -
Hi Vinayak,
Multiple plugins synchronously might slow crm performance issues. So it depends on how much time your plugin executes.
http://technet.microsoft.com/en-us/library/hh204512.aspx
http://blogs.technet.com/b/balasm/archive/2012/05/18/crm-2011-performance-issue.aspx
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". Thanks and Regards, Yogesh Vijay Mulay
- Marked as answer by VinayakChavan Monday, April 22, 2013 8:26 AM
Monday, April 22, 2013 6:47 AM
All replies
-
Hi Vinayak,
It's hard to say anything about performance issuses due to plugins. It's a huge difference if a plugin checks for a value and inserts something in another field and a plugin that does multiple retrieves and compares the results from these retrieves and updates multiple entities from those results.
Yes, it could impact performance but it depends, and if the plugins make the workload lighter it might be worth it.
To my understanding it's perfomance wise better to use late binding in the plugins.
Regards
Rickard Norström Developer CRM-Konsulterna
http://www.crmkonsulterna.se
Swedish Dynamics CRM Forum: http://www.crmforum.se
My Blog: http://rickardnorstrom.blogspot.se- Marked as answer by VinayakChavan Monday, April 22, 2013 6:29 AM
Monday, April 22, 2013 6:25 AM -
Hi Vinayak,
If there are too many sync plug-ins it will impact the CRM save / update times. Also a lot of plug-ins is not the right approach for performance reasons. But that depends on how many entities and how many plug-ins you are talking about. It surely has performance hit as each additional item takes some time to process. If all of these are rquired for business purposes, may be you want to look at optimizing CRM server. Look at following articles:
http://technet.microsoft.com/en-us/library/hh413200.aspx
http://blogs.msdn.com/b/darrenliu/archive/2012/06/13/crm-2011-performance-lesson-learned.aspx
Hope this helps.
-----------------------------------------------------------------------
Minal Dahiya
If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"- Marked as answer by VinayakChavan Monday, April 22, 2013 6:29 AM
Monday, April 22, 2013 6:27 AM -
Hi Vinayak,
Multiple plugins synchronously might slow crm performance issues. So it depends on how much time your plugin executes.
http://technet.microsoft.com/en-us/library/hh204512.aspx
http://blogs.technet.com/b/balasm/archive/2012/05/18/crm-2011-performance-issue.aspx
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". Thanks and Regards, Yogesh Vijay Mulay
- Marked as answer by VinayakChavan Monday, April 22, 2013 8:26 AM
Monday, April 22, 2013 6:47 AM -
Thanks Yogesh for your valuable input!
Vinayak Chavan
Monday, April 22, 2013 8:26 AM