| name | adobe-load-scale |
| description | Implement load testing, auto-scaling, and capacity planning for Adobe API
integrations with k6 scripts targeting Firefly, PDF Services, and
Photoshop APIs, plus Kubernetes HPA configuration.
Trigger with phrases like "adobe load test", "adobe scale",
"adobe performance test", "adobe capacity", "adobe benchmark".
|
| allowed-tools | Read, Write, Edit, Bash(k6:*), Bash(kubectl:*) |
| version | 1.6.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","design","adobe"] |
| compatibility | Designed for Claude Code |
Adobe Load & Scale
Overview
Load testing and scaling strategies for Adobe API integrations. Adobe APIs are async and relatively slow (5-30s per operation), requiring different load testing approaches than typical REST APIs.
Prerequisites
- k6 load testing tool installed (
npm install -g k6 or brew install k6)
- Adobe Developer Console credentials for testing (separate from production)
- Kubernetes cluster with HPA configured (for auto-scaling)
- Understanding of your Adobe API rate limits
Instructions
Step 1: k6 Load Test for Firefly API
import http from 'k6/http';
import { check, sleep } from 'k6';
import { Rate, Trend } from 'k6/metrics';
const errorRate = new Rate('adobe_errors');
const fireflyDuration = new Trend('firefly_duration');
export const options = {
stages: [
{ duration: '1m', target: 2 },
{ duration: '3m', target: 5 },
{ duration: '2m', target: 10 },
{ duration: , : },
],
: {
: [],
: [],
},
};
= __ENV.;
= __ENV.;
() {
response = http.(
,
.({
: ,
: ,
: { : , : },
}),
{
: {
: ,
: ,
: ,
},
: ,
}
);
success = (response, {
: r. === ,
: r. !== ,
});
errorRate.(!success);
fireflyDuration.(response..);
(response. === ) {
retryAfter = (response.[] || );
.();
(retryAfter);
} {
();
}
}