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

improve async loading of workspaces #7985

Closed
jrhizor opened this issue Nov 15, 2021 · 4 comments · Fixed by #10487
Closed

improve async loading of workspaces #7985

jrhizor opened this issue Nov 15, 2021 · 4 comments · Fixed by #10487
Assignees
Labels
priority/medium Medium priority releaseStage/ga type/enhancement New feature or request

Comments

@jrhizor
Copy link
Contributor

jrhizor commented Nov 15, 2021

We should either load all workspaces in async or only load them when the user clicks on the change workspace popup.

This costs us 1-2s of loading time and we might not even need these resources.

@jrhizor
Copy link
Contributor Author

jrhizor commented Jan 24, 2022

Specifically: on Airbyte Cloud, it takes almost 8s to load the onboarding screen after creating a workspace for the first time. Is there anything easy we can do to speed this up? Ideally this would load almost instantly, but even improving this by 2x would be huge.

@jrhizor
Copy link
Contributor Author

jrhizor commented Jan 24, 2022

Should we have a backend endpoint for just showing if onboarding is required to remove the number of requests?

@timroes will look into this

@jrhizor
Copy link
Contributor Author

jrhizor commented Jan 24, 2022

The backend also has a very slow web_backend/connections/list call for existing workspaces.

@timroes
Copy link
Collaborator

timroes commented Feb 17, 2022

This issue is now meant to only track async loading of workspaces.

The slowness of web_backend/connections/list should be solved via #10056 and improving the performance of the onboarding state is tracked via #10403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/medium Medium priority releaseStage/ga type/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants