Mitigating automated traffic surges in AEM as a Cloud Service
This article explains how to identify and mitigate Production outages in Adobe Experience Manager as a Cloud Service environments caused by automated traffic surges that lead to access validation bottlenecks.
Description description
Automated traffic surges can overwhelm AEM as a Cloud Service environments, particularly when each page request requires a security check tied to single sign-on. This results in a backlog of access validation requests and temporary unresponsiveness.
Environment
Adobe Experience Manager as a Cloud Service (AEMaaCS), all versions, Production environments
Symptoms
- Temporary unresponsiveness of the Production environment
- Backlog of access validation or authentication requests
- Users unable to access product pages or experiencing delays
Cause
A sudden burst of automated traffic requests a large number of individual product pages from many different source addresses. Each request triggers a security check, creating a queuing bottleneck in the access validation process. Without rate-limiting or caching, this can cause the environment to become unresponsive until the backlog is cleared.
Resolution resolution
Follow the steps below to resolve the issue:
- Apply rate-limiting or automated-traffic detection at your CDN or security layer to identify and mitigate rapid, wide-ranging page-scanning patterns. This helps prevent excessive automated requests from reaching your AEM environment.
- Implement a lightweight, short-lived cache for product lookups in your application. Ensure that repeated automated requests for invalid or outdated product identifiers quickly return a not found response, so each request doesn’t trigger the full page-rendering and access-check process.
- Monitor your environment for unusual surges in automated traffic and review access validation logs for bottlenecks.
- If you continue to observe similar outages or bottlenecks after implementing these measures, review your CDN and application configurations for further optimization.