Add load test harness for pool and fleet sizing
Adds the scripts used to size the connection pool and validate fleet polling under load: burst arrival and mixed workload drivers, pool and resource samplers, a UI probe, host seed/drop SQL, and a gevent Dockerfile. Hosts are addressed by compose service name (api:5001) rather than a local path, so the harness runs against any stack rather than one machine. loadtest_token.py mints a scoped collector token named LOADTEST and prints the secret once, then revokes only that token by name so a real collector token is never touched. envkeyfallback is false, so the harness needs a genuine managed token rather than an env key.
This commit is contained in:
9
scripts/loadtest/Dockerfile.gevent
Normal file
9
scripts/loadtest/Dockerfile.gevent
Normal file
@@ -0,0 +1,9 @@
|
||||
# Sizing-simulation overlay. NOT part of the shipped image.
|
||||
#
|
||||
# Layers gevent onto the built production image so the gevent worker model can
|
||||
# be measured against the gthread baseline under identical application code.
|
||||
# Delete with the rest of scripts/loadtest once sizing questions are settled.
|
||||
FROM shopdb-flask-wilm-api:latest
|
||||
|
||||
USER root
|
||||
RUN pip install --no-cache-dir "gevent==25.9.1"
|
||||
Reference in New Issue
Block a user