Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading backends of a link backend is slow #586

Open
jeroenmaelbrancke opened this issue May 3, 2018 · 5 comments
Open

Loading backends of a link backend is slow #586

jeroenmaelbrancke opened this issue May 3, 2018 · 5 comments
Labels
Milestone

Comments

@jeroenmaelbrancke
Copy link

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}
@wimpers
Copy link

wimpers commented May 3, 2018

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

@jeroenmaelbrancke
Copy link
Author

  • 5 minutes, at a certain point (after refreshing and trying +10 times) the backends are loaded.

@wimpers
Copy link

wimpers commented May 4, 2018

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.

@jeroenmaelbrancke
Copy link
Author

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

@wimpers
Copy link

wimpers commented May 22, 2018

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

@wimpers wimpers added this to the Roadmap milestone May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants