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:
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
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.
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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156