← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1943639] [NEW] project/instances/attach_interface has O(N) scaling time complexity for opening form

 

Public bug reported:

The time complexity of opening the project/instances/attach_interface
form box is O(N) where N is the number of networks in the project. This
is due to

https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/dashboards/project/instances/utils.py#L210

Which loops over the networks and requests the ports associated with the
network. For large projects this scaling behavior can become
prohibitive.

** Affects: horizon
     Importance: Undecided
         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/1943639

Title:
  project/instances/attach_interface has O(N) scaling time complexity
  for opening form

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  The time complexity of opening the project/instances/attach_interface
  form box is O(N) where N is the number of networks in the project.
  This is due to

  https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/dashboards/project/instances/utils.py#L210

  Which loops over the networks and requests the ports associated with
  the network. For large projects this scaling behavior can become
  prohibitive.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1943639/+subscriptions



Follow ups