Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Improve USD Performance both for startup and while triggering hosted controls

Posted on by 295

I know this is a very generic and open ended question but I am trying to fine tune USD and make it much faster then it is now.

I am usind USD 4.1 and it takes aroun 2 to 3 minutes to start initially then it takes time to trigger each hosted control like for example 30-40 seconds (One of my hosted control is a custom hosted control which does alot of work using code).

Even when I am trying to close USD sometimes it goes to not responding state and then I have to kill the process to completely shut it down. It takes even around 10-20 seconds to completely shut down.

What are my options to improve the performance.

  • thonda Profile Picture
    thonda on at
    RE: Improve USD Performance both for startup and while triggering hosted controls

    Yes. you can host all CRM web resources in Chrome hosting. Not sure how you are login in to external apps helped with IE hosting but anyways that would be small price compared huge gain you make in terms of performance and reliability of overall USD.

    Please mark this as answer and close the thread. For any new questions start a new thread.

  • Faran Saleem Profile Picture
    Faran Saleem 295 on at
    RE: Improve USD Performance both for startup and while triggering hosted controls

    Thank you so much Praveen for such detailed explanation.

    Just one thing I would like to clarify hosting in different hosted controls types such as chrome and standard web apps would mean multiple logins? because I have some webresources as well and they are also hosted as IE type. Should I make them as chrome also? Because lets assume, I host my CRM pages as chrome and if I host my webresources as IE then wouldn't this mean that multiple logins will appear?

  • Suggested answer
    thonda Profile Picture
    thonda on at
    RE: Improve USD Performance both for startup and while triggering hosted controls

    This is fine. It is totally acceptable, we recommend to use Chrome basically as all CRM Pages do work with Chrome, however keeping legacy requirements in need you can host in IEProcess as needed. This should make your USD more reliable and better performing as well, as less and less IE COM interactions happen. One thing you should be aware is Chrome tabs complete their loading only when it is a active, kind of lazy loading, this USD more responsive and less prone to freezing. But if there were any action calls attached to BrowserDocumentComplete they shall fire only when the tab becomes active one. This usually not cause any issue, but if any you encounter , those action calls may need to be configured differently to achieve your requirement.

  • Faran Saleem Profile Picture
    Faran Saleem 295 on at
    RE: Improve USD Performance both for startup and while triggering hosted controls

    Is this a good practice to use two different types for different set of hosted controls? Are there any draw backs of using multiples hosted control types for different hosted controls?

  • Suggested answer
    thonda Profile Picture
    thonda on at
    RE: Improve USD Performance both for startup and while triggering hosted controls

    Hi Faran,

    TabProcGrowth and TabShutdownDelay are the important ones and kind of must, you may consider applying them via group policy, but they would get applied all computers , so best is apply specifically on USD users machine.

    Also you can host all CRM Page hosted controls in Chrome and Standard Web Application hosted control in IE Process that are meant for external system.

    Regards,

  • Faran Saleem Profile Picture
    Faran Saleem 295 on at
    RE: Improve USD Performance both for startup and while triggering hosted controls

    Hi Praveen,

    Thanks for the support.

    Yes, I am forced to use IE as external applications work with IE only and not with Chrome.

    The link you shared does this mean for all users I will have to update these settings manually, as it will be a tedious task. Can you please help

  • Verified answer
    thonda Profile Picture
    thonda on at
    RE: Improve USD Performance both for startup and while triggering hosted controls

    Hi Farhan,

    Please use client caching to improve the startup behavior by caching your USD configuration.

    docs.microsoft.com/.../configure-client-caching-unified-service-desk

    As you said it is difficult to comment on why your hosted controls are taking time, best use chrome as hosting type on all possible hosted control like CRM Page.

    But if you are forced to use IE only then follow these recommendation https://docs.microsoft.com/en-us/dynamics365/unified-service-desk/admin/internet-explorer-settings-bpa?view=dynamics-usd-4.1 

    You can analyze your verbose logs to understand where the delay is happening during load of your hosted controls.

     https://docs.microsoft.com/en-us/dynamics365/unified-service-desk/admin/configure-client-diagnostic-logging-unified-service-desk?view=dynamics-usd-4.1 

    Regards,

    Praveen T

    D365 Support Engineer

    Microsoft Corporation.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans