Dynamic Content Caching : Facing Performance issue | Community
Skip to main content
Level 2
Oct 22, 2019 1:50 PM UTC
Solved

Dynamic Content Caching : Facing Performance issue

Facing performance issues with HTML request being served from Publisher. As we increase Concurrency, response time start increasing drastically.

The HTML has Dynamic content per user so not able to cache it on dispatcher.

Please help if any other way to load this dynamic content.  Read about Sling Dynamic Include. Is their any other way??

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
user05162Accepted solution
Employee
Oct 23, 2019 2:20 PM UTC

Sling dynamic include[1] is your best choice if only some part of the page is dynamic but if the whole page is generated dynamically, you can look into thread/heap dumps and increase CPU/Memory based on the results.

[1] Set up Sling Dynamic Include

3 replies

user05162Accepted solution
Employee
Oct 23, 2019 2:20 PM UTC

Sling dynamic include[1] is your best choice if only some part of the page is dynamic but if the whole page is generated dynamically, you can look into thread/heap dumps and increase CPU/Memory based on the results.

[1] Set up Sling Dynamic Include

Translate
Level 2
Oct 22, 2019 2:06 PM UTC

If you are using queries with AEM repository, start looking at indexing.

Look at the rest calls you make to backend systems from AEM. Try to analyze if there is any latency with backend rest call responses. Configure http max parallel connections and time outs for the back end rest calls.

Other way is to call the rest api directly from client js code with bypassing the request to go through AEM.

Translate
Employee
Oct 22, 2019 2:00 PM UTC

You may want to take some thread dumps to understand what is causing the performance issue and then address it accordingly.

Translate