This section applies only to Mender with Minio storage backend.
When a large number of devices are being updated, the uplink connection of the
backend can easily get saturated. For this reason
storage-proxy container is
aware of 2 environment variables:
MAX_CONNECTIONS - limits the number of concurrent GET requests. Integer,
defaults to 100.
DOWNLOAD_SPEED- limits the download speed of proxy response. String, defaults to
1m(1MByte/s). Detailed format description is provided in nginx documentation of limit_rate variable
These options can be adjusted using a separate compose file with the following entry (example limiting download speed to 512kB/s, max 5 concurrent transfers):
storage-proxy: environment: MAX_CONNECTIONS: 5 DOWNLOAD_SPEED: 512k
Found errors? Think you can improve this documentation? Simply click the Edit link at the top of the page, and then the icon on Github to submit changes.
© 2020 Northern.tech AS