Improving Bulk User Creation in AEM 200x

Published on by Dan KlcoPicture of Me Dan Klco

Recently, we had a particularly challenging problem where an AEM website needed to support up to several hundred thousand logins within approximately a 2-hour window. To support this level of load, we couldn’t have user profiles get populated as the users logged in. Instead, the team created a job to populate the users and groups ahead of time. A couple of days later, we knew we had a problem, the job was still running! After approximately, three days, the job finally finished, so we had a baseline of the performance. To say the least, we had exceeded the off-hours window before users would start accessing the system in bulk. Here’s how we were able to optimize the user synchronization process from 3 days to 15 minutes.