Performance Best Practices for Dynamics CRM


  1. Use multithreaded application.
    Add threading support to your application to break up the work across multiple CPUs.
  2. Allow the system to automatically assign the GUID instead of manually creating it.
    This suggestion allows Microsoft Dynamics CRM to take advantage of sequential GUIDs, which provide better SQL performance.
  3. Use early-bound types where ever possible.
  4. Write plug-ins that execute faster.
    If you intend to register your plug-ins for synchronous execution, we recommend that you design them to complete their operation in less than 10 seconds.
  5. Limit the data you retrieve.
    When you use the methods that retrieve data from the server, retrieve the minimum amount of data that your application needs. You do this by specifying the column set, which is the set of entity attributes to retrieve.
  6. Limit operations that cascade to related entities.
    When you use the Update method or UpdateRequest message, do not set the OwnerId attribute on a record unless the owner has actually changed. When you set this attribute, the changes often cascade to related entities, which increases the time that is required for the update operation.

http://msdn.microsoft.com/en-in/library/gg509027.aspx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s