distil/distil/db/sqlalchemy
Lingxian Kong dac4cb1fcf distil-collector concurrency support
As the number of our cloud customers and used resources increasing,
it will take a longer time(more than 1 hour) for distil usage
collection, which will lead to database problem, because there will
be more than 1 process operating on the same table for the same
project at the same time, which will also cause performance
degradation.

This change will add a table for locking purpose, it's very easy
to add extra collector without any code or configuration modification.

Change-Id: I25ebd19e8eae9dcc7ee3c2d2389d5ad2658f5e46
2017-02-22 13:11:11 +13:00
..
__init__.py Refactor Distil API to support new endpoints 2016-05-05 15:20:17 +12:00
api.py distil-collector concurrency support 2017-02-22 13:11:11 +13:00
model_base.py Refactor Database layer 2016-05-10 13:53:08 +12:00
models.py distil-collector concurrency support 2017-02-22 13:11:11 +13:00