openwisp / openwisp-firmware-upgrader

Firmware upgrade solution for OpenWRT with possibility to add support for other embedded OSes. Provides features like automatic retry for network failures, mass upgrades, REST API and more.
http://openwisp.org
Other
50 stars 58 forks source link

Is mass upgrade a parallel process? #211

Closed sergorl closed 1 year ago

sergorl commented 1 year ago

Dear friends, does mass firmware upgrade process happen in parallel for many devices?

nemesifier commented 1 year ago

Potentially yes, it depends on how the server is configured, see openwisp2_celery_firmware_upgrader_concurrency and openwisp2_celery_firmware_upgrader_autoscale in https://github.com/openwisp/ansible-openwisp2. See also https://docs.celeryq.dev/en/stable/userguide/workers.html (look for concurrency and autoscaling, they are two different ways to increase concurrency, one is fixed and the other is dynamic).