Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

OrganizationService: Online version much slower

Posted on by 30

Hello everyone,

I have a console application that loops through all the customizable entities and creates 3 attributes (dnbs_overriddencreatedby, dnbs_overriddenmodifiedby and dnbs_overriddenmodifiedon) for each of them

I tried to execute the same code on an online organization and on an on-premise organization. I was expecting the performance to be better on the on-premise organization as it is the case but the difference is enormous: 

creatingattributs.png

It takes almost 1 hour for the online organization to the same thing the on-premise organization can do in about 3 minutes.

The on-premise organization is using AD authentication while the online is using OAuth. 

Should I be expecting better performance from the online organization? Also, could it be because I am using a trial instance instead of a production instance?

Thanks,

Marc

  • MarcDynamics Profile Picture
    MarcDynamics 30 on at
    RE: OrganizationService: Online version much slower

    In case that it might be of interest to anyone, it turns out that it will take about 30 seconds on the first relationships regardless of whether it is with the GUI or SDK, but for subsequent lookups it will take over 3 minutes again regardless of whether you use the GUI or SDK. It may have something to do with it being a trial or some resources not being deallocated after the first relationship is created.

  • MarcDynamics Profile Picture
    MarcDynamics 30 on at
    RE: OrganizationService: Online version much slower

    Hi Jim,

    What is strange is that the same action takes about 30 seconds through the GUI in comparison to 3 minutes through the SDK. Oh well, it took me a whole day to add all the fields but now it is done.

    Thanks,

    Marc

  • Jim Daly Profile Picture
    Jim Daly on at
    RE: OrganizationService: Online version much slower

    Marc -

    A trial environment has the least amount of resources allocated to it. Not surprising it is slower than your on-prem environment. It will be slower than a production instance.

    Authentication should not be a factor.

    Metadata operations are rather expensive.

    Will online give you better performance than your on-prem? I suppose it depends on your on-prem hardware.

    But I wouldn't compare a trial environment with a production instance.

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,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans