HomeProduction Readiness › Load testing

Load testing

Purpose: Design realistic load tests for a cached platform: scenarios, cache states, and pass criteria.

Who this page is for

AudienceWhy it matters to you
Backend/platform engineersTest designers
Tech leadsInterpreting results

The cardinal rule: test the cache states, not just the happy path

A dispatcher-fronted site at 95% hit ratio is nearly infinitely fast — until an invalidation storm. Scenarios:

ScenarioSimulatesWatch
Warm cache steady stateNormal trafficCDN/dispatcher hit ratio, edge latency
Cold cache (post flush) at peakDeploy/flush during campaignPublish render p95, thread pool, recovery time
Invalidation churnAuthors publishing during peakStampedes on hot pages, grace handling
Uncached-heavy mix (search, AJAX, personalisation calls)Real user behaviourPublish CPU, upstream breaker behaviour
Author load (electives)Bulk editing, DAM ingest, workflowsAuthor responsiveness, queue depths

Tooling: JMeter/Gatling/k6 all fine; Adobe's Tough Day exercises AEM-internal author patterns. Test through the full chain (CDN → dispatcher → publish) with realistic Host headers and cookie behaviour — bypassing the CDN tests a system users never touch.

Realism requirements

Pass criteria (pre-agreed, in writing)

Example set: p95 page < 800ms at peak×2 warm; cold-cache recovery < 5 min; zero 5xx above 0.1%; no thread pool exhaustion; hit ratio ≥ 90% steady. Failing criteria block go-live — that is what they are for.

Quick navigation