Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issue #36

Open
inmetatosu opened this issue May 8, 2024 · 4 comments
Open

Performance issue #36

inmetatosu opened this issue May 8, 2024 · 4 comments

Comments

@inmetatosu
Copy link

Hi,

If there is a large number of categories with multiple levels, performance is seriously affected when loading the category tree.
Could you look into this?

Regards,
Torunn

@Eric-4NG
Copy link

Same here, for every sub-category a XHR request is fired. Would be nice if it could be loaded with a single request, or paged? Less stress and the browser will handle it easier as well I assume.

@alasvant
Copy link

Same here, category has 70 children and occasionally it leads to situation that we don't get category picker correctly populated as some of the XHR requests will return 500 or 502 (DXP env CloudFlare). DXP log stream shows that database gives timeout.

@Eric-4NG
Copy link

After dirty work-arounds to load the items one request at a time, it still times out.
Eventually we ended up here:
https://support.optimizely.com/hc/en-us/articles/4432366206733-CMS-12-site-crash-due-to-SQL-timeout-error-when-working-in-CMS-edit-mode

After requesting what the recommended value is for this, Optimizely Support suggested to turn MARS off. So that is what we've currently done. But we still have to monitor the effects of this change. But you could give that a try as well.

@Eric-4NG
Copy link

Eric-4NG commented Oct 3, 2024

Turning MARS of was not the solution, did no harm either for anything else.

In the meanwhile we've played around with increasing the SQL plan on Azure. Which helped a little, then we've played around with threadpool settings in runtimeconfig.template.json did no harm, but did not solve it either.

We're now running SQL index reorganize/rebuild periodically. That seems to be quite helpful to resolve it. It will not load instantly, but it seems to run stable for now without restarting the site by the amount of requests executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants