Long Running Jobs Hate Him! One Simple Trick for Quicker AEM Content Jobs

Published on by Dan KlcoPicture of Me Dan Klco

That Job   Many projects have that job. You know the one. It's every Sys Admin's nightmare, but it performs some critical task for the website. It also takes several hours to run and has the occasional tendency to do bad things like... take down a server. What if I told you there's a way to make that job quicker and reliable and to reduce the amount of code you have to write? Unbelievable? Believe it!   The Solution: Automatically Build & Replicate a Content Package   Recently, I contributed a new service to the Adobe Consulting Services AEM Commons open source library. The service is based on the code we implemented at a client which reduced the execution time of their that job by approximately 50%. In this case, that job was importing content from an internal data source to create a large number of pages on the website. It then performed a tree activation on the...