cinder/cinder/cmd
Gorka Eguileor 373b524041 Support multiple processes on Cinder Backup
Cinder Backup has always been run as a single process, and this works
fine if the number of backups is small, but there are deployments where
a big number of backups are run simultaneously, and in such cases we
will find a bottleneck on CPU intensive operations, like compression and
SHA calculations, since we are using a single process and therefore a
single CPU core.

This patch adds support to define the number of processes we want to run
on the backup service using a new "backup_processes" configuration
option.

When running multiple processes they will all be running as children of
a parent process, but when running a single process it will run on its
own.

To preven race conditions and avoid the backup service from becoming
available before it should only the first process will do the initial
cleanup and all the others will wait on a lock until it is released by
this first process.

Change-Id: Ib43095024754a6219eb51cc0663913fac10bb642
2018-03-14 10:52:25 +01:00
..
__init__.py Use pbr entry_points to setup the cinder scripts 2014-12-08 09:53:22 -05:00
api.py Moved CORS middleware configuration into oslo-config-generator 2016-03-08 08:51:52 -08:00
backup.py Support multiple processes on Cinder Backup 2018-03-14 10:52:25 +01:00
manage.py Remove "cinder-manage logs" commands 2018-02-09 12:08:18 -05:00
rtstool.py rtstool surrounds IPv6 addresses by brackets 2016-03-28 16:20:42 +03:00
scheduler.py Merge "Add 'conf' param for TextGuruMeditation autorun setup" 2016-03-03 19:01:46 +00:00
volume.py Windows: allow multiple c-vol backends per service 2018-01-11 13:11:39 +02:00
volume_usage_audit.py Remove unused print_function imports 2017-11-02 11:06:58 -04:00