April 19, 2020
Estimated Post Reading Time ~

How to Improve AEM Workflow Throughput

Statement:
How to Improve AEM Workflow Throughput after a change in hardware size upgrade.

step 1 tuning: http://localhost:4502/system/console/configMgr and search for Apache Sling Job Thread Pool
PID is org.apache.sling.event.impl.EventingThreadPool. The default value is 35.
Raise this default value to a higher number say 65.


Step 2 tuning: navigate to 
http://localhost:4502/system/console/slingevent and search for Max Parallel attribute of Job Queue


  1. Edit the [Job Queue Configuration] for [Granite Workflow Queue],
  2. Edit the job queue [Granite Transient Workflow Queue],
  3. [Granite Workflow External Process Job Queue] or
  4. Edit the job queue of any other job queue of type ‘Topic Round Robin’ that is relevant to your workload.
  5. Increase the value for ‘Max Parallel’. The default value is usually 0.5 (half the number of vCPUs of your instance).

To find out the number of the processor of your instance:
http://localhost:4502/system/console/vmstat based on the no of processor, the default value to be changed to half the number of the processor if processor value is 4 then Max parallel value would be 2.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.