Skip to content

test: add a stepped read-only Gatling stress simulation - #2477

Merged
netomi merged 1 commit into
mainfrom
perf-read-mix-stress
Nov 30, 2026
Merged

netomi merged 1 commit into
mainfrom
perf-read-mix-stress

Conversation

@cstamas

@cstamas cstamas commented Nov 27, 2026

Copy link
Copy Markdown
Member

Adds perfStressReadMix, a Gatling task for comparing the same read workload across deployments, for example the same origin with and without a CDN or edge proxy in front.

  • Open-model load that rises in equal steps up to a peak (stress.peakRps, stress.steps, stress.stepSeconds, stress.rampSeconds), one request per virtual user over shared connections.
  • A weighted mix of registry API and VS Code adapter reads, using the existing CSV feeders. It never writes.
  • -Dstress.cacheBust=true adds a random cb query parameter to every request, so no cache layer answers and the run measures origin latency.
  • The task turns HTML reports back on (gatling.conf disables them), and baseUrl / auth can be overridden per run with -D.

Usage and caveats are in server/src/gatling/README.md.

Tested by running it against staging: four runs per mode at the defaults (10,200 requests each). About 7 % of requests fail with 404/400 because some versions in extension-versions.csv do not exist on staging; that is the existing test data, not this change. No CHANGELOG entry, as this is internal tooling.

perfStressReadMix raises the arrival rate in equal steps up to a peak
and sends a weighted mix of registry API and VS Code adapter reads, so
the same workload can be compared across deployments. The task turns
HTML reports back on, and -Dstress.cacheBust=true adds a random query
parameter so no cache layer answers and the run measures origin latency.

Signed-off-by: Tamas Cservenak <tamas@cservenak.net>
@netomi
netomi merged commit 63aea02 into main Nov 30, 2026
5 checks passed
@netomi
netomi deleted the perf-read-mix-stress branch November 30, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants