-
Notifications
You must be signed in to change notification settings - Fork 1
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
Che workspace takes too much time to load #16
Comments
Even though it is not as severe as for new workspaces, starting a workspace usually takes some time, which is something we have had to put up with since the first experiments in the Che dashboard. It is true that it undermines the user experience but there seems to be no simple solution for this. |
I'll investigate this more thoroughly. You know, yesterday I was presenting the platform to the ORW and during the live demo the Che workspace for a test project that I had already created before the meeting took like 3-4 minutes to load. This is way too long. Any developer that would experience such a delay on a development tool, most probably he will quickly drop it and move to the next. |
Yes, that is the usual behaviour. The only way to avoid showing that in the presentation would have been to open the workspace beforehand and leave it open (you can leave Che-Theia in the IDE frontend by clicking the logo of the project in the header because that changes the page but leaves the workspace running, whereas the "Close" option in the sidebar stops it). |
Yes, but the think is that I wanted to actually show the workspace launching. That's why I created a service beforehand because I thought that the Che workspace will launch (more or less) quickly, if it was not the first time launching the workspace. I believe that a workaround exists. We just need to find it. |
Oh, I see. Well, yes, the first time you run the workspace is when it takes the longest. The following attempts are a bit better but still noticeably slow. |
Dear @goncalorolo , We really need to have a closer look at this issue. Today I tried to load the workspaces of existing services that I have created through the platform, and each load took to much time. For example, in one case, I had to wait for more than 10 minutes!! Any ideas on what may cause this issue? |
In this particular case, I think workspaces were taking too much time to start due to a Che downtime (which also led to #32). I have just tried starting an existing workspace and creating a new one and starting it afterwards and both processes didn't take more than 2 minutes each. |
@goncalorolo indeed I just tried to load an existing workspace and I took around 2.5 minutes. However, I want to ask, is this normal in general? I mean, has it been reported somewhere that Che workspaces are very slow to load? |
@goncalorolo any thoughts on that? |
There is this page in the documentation. @philipreimer, do you think any of these practices whose role is "Administrator" can still be followed in order to improve the loading times? |
/cc @schlotze |
The devfile templates we currently provide only use the minimum subset of plugins needed. Therefore, we cannot optimise this any further. EDIT: For everyone's information, I have tried reducing the number of plug-ins and it only improved the loading performance the first time the workspace is started. All subsequent launches take the same amount of time, which increases with the number of plug-ins.
Similarly to the previous bullet point, there are no unused public endpoints being exposed. |
@goncalorolo @deanone Regarding the image puller: the documentation states:
When looking at https://plugin-registry-smartclide-che.che.smartclide.eu/v3/external_images.txt none of the recommended images appear there. Would it make sense to try to cache any of the other images from that list? |
@philipreimer @goncalorolo I think it is worth trying to pull the recommended images universal-developer-image, che-code`, and che-gateway |
Dear @goncalorolo,
I have made several tests on the platform and I noticed that even for existing services (i.e., for services that the Che workspace has already been created) the workspace takes too much time to load. It is about 2 to 3 minutes.
So, I think that this is something that we need to check since it affects the whole user experience.
The text was updated successfully, but these errors were encountered: