Hi,
We've been experiencing performance issues on our AEM-backed websites for a while.
Recently, we've decided to investigate and found that, even on a fresh new vanilla AEM instance, the CPU usage still spikes when about 10-20 requests are sent continuously to any page on the sample content or the WKND project.
We've tried sending 20 requests per second for 10 seconds, which is equivalent to 200 users accessing the page in 10 seconds. This is not a high number. But the CPU usage still spikes to 100% and the server is inaccessible for more than 1 minute.
Is there any opinion to mitigate the performance issue?
The specs are as below:
All of them experience the same CPU issue when running:
Solved! Go to Solution.
What is the result you would expect from this experiment? And do you think that this test is realistic for a production-like scenario?
Any AEM deployment comes on the publish side with a dedicated caching layer (dispatcher) which should be used as much as possible. That means that rendering all requests directly on AEM should be avoided.
Hi @extwebd96701854 ,
Can you please check if your caching mechanism is working fine in you case, this shouldn't be the case if cached files are rendered.
@extwebd96701854 as @TarunKumar said you should check if the content is getting served from cache or it might be hitting the publisher server every time
Qucik check: how are you testing this? do you have the disaptcher on top of the publisher?
And i am suprised why this is happening on vanilla instance. If your cache mechanisam is working fine then raise a adobe ticket and reachout to Adobe support team
High CPU utilization could be related to multiple issues. I would suggest you to analyze it from all the angles.
Hope this helps.
What is the result you would expect from this experiment? And do you think that this test is realistic for a production-like scenario?
Any AEM deployment comes on the publish side with a dedicated caching layer (dispatcher) which should be used as much as possible. That means that rendering all requests directly on AEM should be avoided.
Hey @Jörg_Hoh
What is the recommendation in the case where we do not have static content that can be cached, such as resources are rendered based on permissions of users accessing the solution. We do cache whatever resources is possible on both dispathcer and CDN (in our Production setup). But still experience this challenges during peak traffic
Views
Replies
Total Likes
In this case this is kind of expected; on the other hand side even in this scenario the rendering is not completely personalized; typically large parts of the results are identical (for example page navigation or other aspects).
You can make use of this and split the pages into static and dynamic parts, and just render the dynamics always on the publish; Sling Dynamics Include is often used for this.
Views
Replies
Total Likes
Views
Likes
Replies