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.
10 lines
389 B
Docker
10 lines
389 B
Docker
# 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"
|