web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Strange behavior on Production environments only. Bad performance using service endpoint.

(0) ShareShare
ReportReport
Posted on by 10

We start facing strange behavior for Production environments. We have a custom class and methods which calculate stocks and prices for products. Running these methods inside Dynamics using web UI shows perfect/expected performance. Same request, same user but using service endpoint (JSON based custom service) shows huge performance difference (2-10 times). Sending multiple times same request we see different response times (twice bigger or lower).

Looks like cache for multi-AOS environments do not work at all or MS changed priority for service endpoint requests. Does someone faced such issue? Any help will be appreciated.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,446 Super User 2026 Season 1 on at

    Hi Yaroslav,

    Can you provide some more information? Are you communicating the stock and price per item or for all items at once? How many records are included?

    Note that there is a priority based throttling for web services: docs.microsoft.com/.../priority-based-throttling

  • WillWU Profile Picture
    22,363 on at

    Hi Yaroslav Korzun,

    Please try to debug your production environment to get more details:

    docs.microsoft.com/.../dbmovement-scenario-debugdiag

  • Yaroslav Korzun Profile Picture
    10 on at

    Hi Andre,

    Ten products in one request. But number of products is no matter. Five products on Prod can take 5-10 sec but on Dev/UAT - 1 sec or less. Ten products on Prod 5-20sec on Dev/UAT - 1-2sec. Difference is significant.

    I am also thinking about throttling but our Prod envs not using it, anyway I have set up high priority for used AAD application and user but no luck.

  • Yaroslav Korzun Profile Picture
    10 on at

    Hi Will, thanks but link explain how to use UAT for debugging and issue only on multi-AOS env like Prod.

  • André Arnaud de Calavon Profile Picture
    303,446 Super User 2026 Season 1 on at

    Hi Yaroslav,

    There is some environment monitoring available on LCS. Have you looked at the user activity, raw logs and database activity for possible more information?

  • Yaroslav Korzun Profile Picture
    10 on at

    Hi Andre,

    Yes, everything looks normal for Production environments, different load per AOS, some low, some average, some high. There is a lot of information due to internal processes and batch works. Digging in logs but I would know what to look for.

  • André Arnaud de Calavon Profile Picture
    303,446 Super User 2026 Season 1 on at

    Hi Yaroslav,

    If the same codebase and same data is working much faster in UAT compared to the production environment, you can also consider creating a ticket for Microsoft Support.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 517 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 440

#3
Adis Profile Picture

Adis 266 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans