horizon/releasenotes/notes/quota-usage-reduce-unnecessary-API-calls-1ca424e093bec135.yaml
Akihiro Motoki 359467b401 Retrieve quota and usage only for resources really required
tenant_quota_usage() is used to retrieve quota and usage
to determine if a resource can be created.
However, tenant_quota_usage retrieves quota and usage for
all resources and it can be a performance problem.

This commit allows to load quota and usage only for resources
which are actually required.

Closes-Bug: #1675504
Change-Id: Iab7322a337a451a1a040cc2f4b55cc319b1ffc4c
2017-06-14 08:53:32 +00:00

12 lines
574 B
YAML

---
fixes:
- |
Unnecessary API calls to back-end services are eliminated when checking
the quota and usage in individual panels. Each panel checks a resource
can be created by retrieving the current quota and usage for the resource.
However, the previous implementation retrieves quota and usage of unrelated
resources (For example, Nova usage is retrieved when checking a network
usage). It can be a performance problem in large deployments.
This behavior is now fixed to load quota and usage only for resources
which are really required.