Artifact download and connection limiting

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):

            MAX_CONNECTIONS: 5
            DOWNLOAD_SPEED: 512k

We welcome contributions to improve this documentation. To submit a change, use the Edit link at the top of the page or email us at .