Showing posts with label performance monitoring. Show all posts
Showing posts with label performance monitoring. Show all posts

Tuesday, 12 February 2019

Performance Monitoring in AEM Projects

There are many reasons for performance issue in AEM projects. Identifying them and fixing in right time is mandatory to make the project successful.




Common causes of performance issues

From years people were monitoring performance issues  and identified a pattern. The issues starts from beginning of the project to end. Examples could be a poor design, poorly written code, lack of caching, memory sizing, network bandwidth latency, no proper load balancing at end point etc.

How to prevent performance issues?

1) By running multiple tests: Load tests, stress tests etc can help identifying the issues before launch.
2) Stable AEM release: Install any recommended service packs, cumulative fixes, hot fixes etc.
3) Following guidelines : Follow Assets best practices recommended by Adobe, Content Architecture guidelines etc.
4) Proper Memory Management: Allocate sufficient RAM , disk space based on research guidelines.
5) Configurational practices: Proper logging,  Caching, Sling job queue tuning etc
6) Workflows tuning: Enable transient workflows, purge workflows on time etc.
7) Oak tuning : by creating custom indexing for repeated searches, Ensuring proper JVM parameters for index querying, better lucene index configuration, external data store for huge assets handling.
8) Tar storage tuning: TarMK revision clean, OS related fixes for Tar etc.

Adobe Cloud manager is having ability to identify many of such issues.

Always keep monitoring the system and check for the bug reports , Adobe forums etc to identify

Read More>> Performance in Cloud Manager

Tuesday, 10 June 2014

Workflow, performance monitoring, logging in AEM


Workflow:

Used to automate process involved in page creation to publish.
http://localhost:4505/libs/cq/workflow/content/console.html
Launcher workflow enables to automate the workflow in AEM.
·         Instance tab shows running workflows which can be suspended or cancelled.
·         Models list all work flows created.
·         Archive : shows completed workflows
·         Failures: Shows all the failed workflows.

Error /Failure in Workflow custom process "Process implementation not found: "
The reason may be you are creating bundle using CRXDELite and below codes are commented.
#Export-Package: *
#Import-Package: *

Solution:So you have to uncomment to get the workflow success.

-------Similar Posts---------------
Mapping of requests in AEM
Interact With AEM
Run Modes
AEM
Apache Sling in AEM

-------------------------------------

Performance:
Logging
Request.log files will have all requests logged. Monitoring this log is the best way to track performance issues. We can also use some profilers to tackle the performance issues.
Tool helps to track last few requestsAuthor\crx-quickstart\opt\helpers > rlog.jar
To access logs,
From command prompt reach to the location of rlog.jar then > execute java -jar rlog.jar -n 10  ../../logs/request.log will give all slowest responses.
Readable: http://dev.day.com/docs/en/cq/current/deploying/performance.html
Timing chart URL will also help to find the performance timing of any page loading.
Common performance improvement methods: http://helpx.adobe.com/experience-manager/kb/performancetuningtips.html