Bulk Move Assets Using Asset Manager Granite API (High‑Volume Moves)
Hi,
I am working on an AEM servlet/workflow that needs to bulk move assets using the Asset Manager Granite API.
Key Requirement:
The solution must reliably handle the movement of 300–500 assets in a single execution without errors such as repository exceptions, session timeouts, or failed moves. Performance and stability during high‑volume moves are crucial.
I am looking for guidance on the following points:
-
Feasibility
- Is it supported and recommended to move 300–500 assets at a time using the Granite Asset Manager API via a servlet?
- Are there any known limits, pitfalls, or configuration considerations when moving assets at this scale?
-
Best Practices / Algorithm
- What is the recommended approach or algorithm for bulk asset movement to avoid errors?
- Should assets be moved in batches, and if so, what batch size is considered safe?
- Are there recommendations around session handling, save frequency, or throttling to ensure stability?
-
Destination Path Validation
- Before moving assets, the servlet needs to check whether the destination path exists.
- The destination folder may be created by another API.
- If the destination path does not exist, the servlet should create the folder programmatically and then proceed with the move operation.
-
Sample Code / References
- Are there any sample implementations or reference code that demonstrate:
- Destination path validation
- Folder creation (DAM folders)
- Bulk asset movement using the Granite Asset Manager API
- Handling large volumes (300–500 assets) safely in a servlet
- Are there any sample implementations or reference code that demonstrate:
Thanks & Regards,
Vishal Jain