locked
Reduce the number of plug-ins processed at a time by CRM Async process RRS feed

  • Question

  • Is there a way to reduce the number of plug-ins concurrently executed by CRM Async process? We have an async plug-in that involves a lot of CRM service calls and takes a considerable amount of time to execute. We want to load only 100-200 of these plug-ins at a time. Can we customize the async process to pick only 100-200 plug-ins for processing at once?
    Thursday, May 6, 2010 3:13 PM

Answers

  • If you do have such number of async processes running, it might worth having a review of the design of the application. For instance, if you are using plug-in to do some batch job, you may want to offload some of the work to scheduled task (either Windows Service or Console application) instead of using plug-ins. 

    I don't think there is a threshold parameter designed in CRM to control this, unless someone in CRM team can provide some inside information. :-)

    Cheers,


    Daniel Cai | http://danielcai.blogspot.com
    Friday, May 7, 2010 3:12 AM

All replies

  • If you do have such number of async processes running, it might worth having a review of the design of the application. For instance, if you are using plug-in to do some batch job, you may want to offload some of the work to scheduled task (either Windows Service or Console application) instead of using plug-ins. 

    I don't think there is a threshold parameter designed in CRM to control this, unless someone in CRM team can provide some inside information. :-)

    Cheers,


    Daniel Cai | http://danielcai.blogspot.com
    Friday, May 7, 2010 3:12 AM
  • Hi,

    I am with Daniel, it's better if you could restructure your application and try to reduce number of plugin by using windows services or scheduled jobs if some of your requirement can be implemented using that.


    Mahain http://mahenderpal.wordpress.com
    Friday, May 7, 2010 5:07 AM
    Moderator