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

Reduce amount of calls on get workspaces API call #3082

Closed
garagatyi opened this issue Nov 16, 2016 · 0 comments
Closed

Reduce amount of calls on get workspaces API call #3082

garagatyi opened this issue Nov 16, 2016 · 0 comments
Assignees
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Milestone

Comments

@garagatyi
Copy link

Now get workspaces API /api/workspace returns list of all users workspaces. Each workspace in this list contains runtime object. Each runtime object contains description of all docker machines in a workspace. This means that on each request to get list of workspaces we make big amount of requests to different backends (RDB, Docker API).
We should remove runtime description from workspaces from this request. If client needs runtime description it should call get workspace API /api/workspace/<ws-id>.

@garagatyi garagatyi added kind/task Internal things, technical debt, and to-do tasks to be performed. status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. team/platform labels Nov 16, 2016
@mkuznyetsov mkuznyetsov added status/pending-merge and removed status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. labels Jan 6, 2017
@skabashnyuk skabashnyuk added this to the 5.1.0 milestone Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

No branches or pull requests

3 participants