Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Workflow improvement :Digital asset management

Avatar

Level 9

Hi All,

DAM asset upload workflows are generally too resource intensive. The system performance[AEM 5.6.1] is affected.

We also face performance problems when many dam upload workflows[ex:DAM update asset workflows] are being run by the users.

Would like to improve the performance.

 

Went through couple of links as below:

1]http://cq-ops.tumblr.com/post/33794096940/what-happens-when-a-pdf-is-uploaded-into-cq-dam

2]http://docs.adobe.com/docs/en/cq/current/deploying/performance.html#par_title_23

3]http://docs.adobe.com/docs/en/cq/current/deploying/configuring_osgi.html#par_title_104


Some understanding as below:

When any workflows are initiated, internally the workflow engine uses Apache Sling job queues
There are two types of queues 
- Granite Workflow Queue
- Granite Workflow External Process Job Queue

We have to configure these services to limit the maximum number of concurrently running workflow processes. 

There is Apache Sling Job queue configuration available under bundles, which has a property Maximum Parallel Jobs.

 

Doubts as below:

a] Went through DAM Update asset workflow example under "CONFIGURE THE QUEUE FOR A SPECIFIC WORKFLOW MODEL" in [2].
   But I was not quite clear as to what is being done here.

b] Also, under http://localhost:4502/system/console/slingevent , as mentioned in the article in [2],
   I was not able to find the below mentioned[OOTB AEM 5.6.1]

   com/adobe/granite/workflow/external/job/etc/workflow/models/dam/update_asset/jcr_content/model
   com/adobe/granite/workflow/job/etc/workflow/models/dam/update_asset/jcr_content/model
   com/adobe/granite/workflow/job/etc/workflow/models/dam-xmp-writeback/jcr_content/model 

c] Also, can you please let me know the system requirements[RAM,processors etc], DAM assets size or other system
   parameters that is required for optimal performance.

d] If anyone has implemented some other solution, please share it.

Any thoughts on the above will be really helpful.

1 Accepted Solution

Avatar

Correct answer by
Level 10

askdctm wrote...

@ All

Any thoughts on the above will be really helpful.

 

 

View solution in original post

7 Replies

Avatar

Level 6

Job Offloading is a good option when there are many assets   

Avatar

Level 9

Hi Sam,

Thanks a lot for your reply.

Currently we have a active/passive setup, wherein we have actively running author instance and a passive instance
where backup is taken and multiple publishers.

So, is it something like :

a] Offloading is same as clustering? 
b] Also, how do I get the total size of DAM assets in my repository.http://docs.adobe.com/docs/en/cq/current/deploying/performance.html#par_title_23
   has some details. Can you please let me know if there is any other easy way to do this.
c] Generally, how complicated is setting up the offloading environment.
d] What prerequistes/analysis/study we should do before proceeding ahead.

Avatar

Level 9

Hi Sam,

Also, is there any other way like making some changes to the existing DAM workflows to improve performance/any other steps.

Any thoughts here would be helpful.

Avatar

Level 6

personally I have not got any chance to work on offloading, someone else might be able to help you

Avatar

Level 9

Hi Sam,

Thank you for your reply.

@ All

Any thoughts on the above will be really helpful.

Avatar

Correct answer by
Level 10

askdctm wrote...

@ All

Any thoughts on the above will be really helpful.

 

 

Avatar

Level 9

Hi Sham,

Thank you for your reply.

At the end of the video, there is a small demo given. Will try that out on my machine and post back my queries/doubts.