Skip to content

Loading backends of a link backend is slow #586

Open

Description

@jeroenmaelbrancke

Problem

On Nuvolat i'm trying to add a new linked backend to one of the globalbackend but loading the backends of NY2 is very slow.

The call to NY2 returned a valid json with the information of the backends.

image

image

response:

{"_contents": ["available", "linked_guid"], "_paging": {"total_items": 4, "max_page": 1, "end_number": 4, "current_page": 1, "page_size": 4, "start_number": 1}, "data": [{"guid": "0600c1b5-8e06-4db7-bdc7-78c87fda560d", "name": "ny2-ssdbackend01", "status": "RUNNING", "available": true, "linked_guid": "1ae3eb7e-a197-4021-bec1-888e167bba05"}, {"guid": "29f862a9-10f5-4110-bc49-d3c1b009eeaa", "name": "ny2-hddbackend01", "status": "RUNNING", "available": true, "linked_guid": "e4a9beee-2eff-466a-951d-257bf8395a0a"}, {"guid": "88e9bf67-f084-48c8-a0a5-cc0019938c20", "name": "ny2-hddbackend02", "status": "RUNNING", "available": true, "linked_guid": "460620d3-984b-4feb-a217-adf56fb14038"}, {"guid": "c6c26ad3-17da-4233-86b2-074a0289b347", "name": "ny2-hddbackend03", "status": "RUNNING", "available": true, "linked_guid": "3b408aa1-0407-4d9e-be3a-babce370ab13"}], "_sorting": null}

Activity

  1. wimpers commented on May 3, 2018

    @wimpers

    @jeroenmaelbrancke please define very slow. Are we talking about 5s, 30 secs, 5 mins or even longer?

  2. jeroenmaelbrancke commented on May 3, 2018

    @jeroenmaelbrancke
    Author
    • 5 minutes, at a certain point (after refreshing and trying +10 times) the backends are loaded.
  3. wimpers commented on May 4, 2018

    @wimpers

    Had a talk with @JeffreyDevloo about this one and this might be cause by the dynamics (f.e. whether or not a policy can be met).

    Since it will always be OPS who will perform these kind (link backend, ...) of tasks, it would make sense to be less strict as OPS knows/should know what that are doing and whether it is safe to do so. Also if things fail, they have the knowledge to check what went wrong.

  4. jeroenmaelbrancke commented on May 4, 2018

    @jeroenmaelbrancke
    Author

    If you say (100% sure) only OPS will perform these tasks than i'm happy with it.

  5. wimpers commented on May 22, 2018

    @wimpers

    Calling the API directly would already speed things up as the GUI does additional checks.

  6. added this to the milestone on May 22, 2018
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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions