To reduce adverse impact on performance, Adobe Experience Manger (AEM) Assets processes certain long-running and resource-intensive asset operations asynchronously.
These operations include:
- Deleting many assets
- Moving many assets or assets with many references
- Exporting/importing asset metadata in bulk.
Asynchronous processing involves enqueuing multiple jobs and eventually running them in a serial manner subject to the availability of system resources.
You can view the status of asynchronous jobs from the Async Job Status page.
By default, jobs in AEM Assets run in parallel. If N is the number of CPU cores, N/2 jobs can run in parallel, by default. To use custom settings for the job queue, modify the Async Operation Default Queue configuration from the web console. For more information, see Queue Configurations.
Whenever AEM Assets processes an operation asynchronously, you receive a notification at your inbox and through email.
To view the status of the asynchronous operations in detail, navigate to the Async Job Status page.
To ascertain the progress of a particular operation, see the value in the Status column. Depending upon the progress, one of the following statuses is displayed:
Active: The operation is being processed
Success: The operation is complete
Fail: The operation could not be processed
Scheduled: The operation is scheduled for processing a later time
AEM Assets runs a purge job everyday at 1:00 AM to delete completed asynchronous jobs that are more than a day old.
You can modify the schedule for the purge job and the duration for which details of completed jobs are retained before they are deleted. You can also configure the maximum number of completed jobs for which details are retained at any point of time.
You can configure the threshold number of assets or references for AEM Assets to process a particular operation asynchronously.
If the number of assets or folders to be deleted exceed the threshold number, the delete operation is performed asynchronously.
If the number of assets/folders or references to be moved exceed the threshold number, the move operation is performed asynchronously.