yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #18482
[Bug 1352144] [NEW] API client object like novaclient is created every time openstack_dashboard/api methods are called
Public bug reported:
In API modules in openstack_dashboard api such as novaclient, neutronclient and so on, API client objects (novaclient, neutronclient...) are created every time openstack_dashboard/api methods are called even in a same request.
Recreating API client object leads to recreating API HTTP connections.
In a same request, API client object should be reused as possible as we
can to reduce the number of connections to backend servers.
Note that keystoneclient in openstack_dashboard/api is the only module
which implements the client object caching.[1]
[1]
http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/api/keystone.py#n121
** Affects: horizon
Importance: High
Assignee: Akihiro Motoki (amotoki)
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1352144
Title:
API client object like novaclient is created every time
openstack_dashboard/api methods are called
Status in OpenStack Dashboard (Horizon):
New
Bug description:
In API modules in openstack_dashboard api such as novaclient, neutronclient and so on, API client objects (novaclient, neutronclient...) are created every time openstack_dashboard/api methods are called even in a same request.
Recreating API client object leads to recreating API HTTP connections.
In a same request, API client object should be reused as possible as
we can to reduce the number of connections to backend servers.
Note that keystoneclient in openstack_dashboard/api is the only module
which implements the client object caching.[1]
[1]
http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/api/keystone.py#n121
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1352144/+subscriptions
Follow ups
References