Skip to content

machines.list() is incredibly slow #208

Closed

Description

@Ehekatl

On maas 2.5.2 It took 40 seconds to load on localhost (for about 100 nodes)

The performance is way too bad, I can imagine the total nodes could easily go beyond 10k in production. That basically means load forever.

The query should support something like filter by ip, and the backend service need some improvement as well

Activity

  1. blakerouse commented on Mar 25, 2019

    @blakerouse
    Contributor

    This is actually an issue with the MAAS API, not with the library directly. It's an ongoing conversation on how to improve the performance of this API and it will be implemented in this library at that time.

  2. Ehekatl commented on Mar 28, 2019

    @Ehekatl
    Author

    ya no doubt it's a backend issue

    but the lib could support some query parameter to lower the cost?

  3. added
    server-sideIssue that cannot be fixed without a fix in the MAAS API
    on May 24, 2019
  4. r00ta commented on Jul 17, 2023

    @r00ta
    Contributor

    Already tracked in our bug tracker as https://bugs.launchpad.net/maas/+bug/1880966

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugserver-sideIssue that cannot be fixed without a fix in the MAAS API

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions