Performance degradation for a cluster due to many events
Bug #1817604 reported by
Pavel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
senlin |
Fix Released
|
High
|
Jude Cross |
Bug Description
When number of events for a cluster grows, the performance is degradated significantly.
It happens due to cobination of relationship in models.py and joinedload_all('*') option at api.py:
https:/
Due to this combination, a basic call like cluster_get returns all dependent actions an policies, which have to be converted to Python objects.
I have a fix, for this issue will push it shortly.
Changed in senlin: | |
assignee: | nobody → Jude Cross (problem-v) |
importance: | Undecided → High |
To post a comment you must log in.
Hey Pavel,
I too have been addressing this issue. Additionally the conversion in the to_dict method is extremely inefficient the worst offender being in the Action object. I have a patch set I will be uploading shortly to address both of these problems.