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

Provide rapid workspace starts in a read-only manner as more complete experience loads in background or on a refresh #19461

Closed
Tracked by #14879
sympatheticmoose opened this issue Mar 30, 2021 · 4 comments
Labels
kind/enhancement A feature request - must adhere to the feature request template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@sympatheticmoose
Copy link

Investigate whether we could adopt a similar approach to github1s to provide a faster initial loading of a workspace with limited capability. Ideally this should work with GitHub, GitLab and Bitbucket

@sympatheticmoose sympatheticmoose added the kind/enhancement A feature request - must adhere to the feature request template. label Mar 30, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Mar 30, 2021
@mshaposhnik mshaposhnik added severity/P2 Has a minor but important impact to the usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Mar 30, 2021
@sparkoo
Copy link
Member

sparkoo commented Mar 31, 2021

AFAIK the biggest "time waste" in workspace startup now is waiting for Ingresses/Routes to initialize. I don't know how exactly it works in the cluster, but from my experience, it can take up to a minute from creating an Ingress object, to the endpoint actually available externally. See this demo I did when we were implementing new gateway single-host https://youtu.be/Fhzt8DiBajU. Top left screen is pure single-host without any new Routes.

Nowdays we're aiming into mixed endpoints, where some workspace endpoints will be single-host (subpaths of main route -> no new Routes) and some multi-host (subdomains -> new Route). Issue is, if you have only one new Route, we're waiting for it in the startup.

I see 2 ways how to improve the situation:

  • have essential routes single-host and wait only for those
    • I believe Theia already can do that, so we should be able to get to the editor similar to the video.
  • have routes prepared for the user
    • first start would be slow, but then we could leave the routes there (for some time) for reuse

@l0rd l0rd added the new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes label Mar 31, 2021
@tsmaeder
Copy link
Contributor

The approach used by github1s (as I understand it) is that it builds a in-browser only version of vscode that uses github repos as a read-only file system.
We could build that (based on theia), but it wouldn't have anything to do with a Che workspace. The problem with Che workspace startup is not starting the IDE (the electron version of Theia starts up in 5s), but standing up the pod that serves that IDE and getting access to it.

@l0rd l0rd removed the new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes label Sep 28, 2021
@Hadsch
Copy link

Hadsch commented Mar 15, 2022

@che-bot
Copy link
Contributor

che-bot commented Sep 11, 2022

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 11, 2022
@che-bot che-bot closed this as completed Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

7 participants