Comments (8)
If you are going to give each user their own workspace, recognize that each
workspace is powered by its own Docker container within Che 4. So if you
allow 500MB for the server itself, and then you give 1 workspace to each
student, you have to spread 20 workspaces across 3.5GB of RAM, so powering
each one with about 175MB of RAM. It's tiny, but not impossible.
The best way to do this would be to set up Che with 20 workspaces that you
create. Each workspace will be given its own name, url, and powered by its
own docker container. You can then size each workspace down to 175MB of
RAM and run Che with about 500MB of RAM itself.
Tyler Jewell | CEO | tyler@codenvy.com | 978.884.5355
On Wed, Dec 9, 2015 at 3:44 AM, freewind [email protected] wrote:
Since we didn't find the way to allow users to have their custom
workspace, I want to start many che instances on a server, so everyone can
get its own che instance to set its own workspace.But I have a problem that the server has only 4G ram, and there are more
than 20 students. If I install che on the server directly, the memory is
not enough if I start many che, since to start a tomcat, it requires at
least 512M(or more).Can I resolve this problem by starting the che from docker containers? Is
the memory used by docker container dynamic and shared? (Since most of the
time the users are just typing code, the real used memory should be less
then 4G)Could you give me some advices on this, or any solution that users can
have their custom workspaces?—
Reply to this email directly or view it on GitHub
#115.
from che.
@TylerJewell thanks for the quick answer, how to "set up Che with 20 workspaces"? Do you mean I need to start 20 Che instances so I get 20 workspaces?
from che.
- Start a single che instance.
- In that instance create multiple workspaces each with their own name.
They will each get their own unique URL that you can assign to different
people.
Tyler Jewell | CEO | tyler@codenvy.com | 978.884.5355
On Wed, Dec 9, 2015 at 6:11 AM, freewind [email protected] wrote:
@TylerJewell https://github.com/TylerJewell thanks for the quick
answer, how to "set up Che with 20 workspaces"? Do you mean I need to start
20 Che instances so I get 20 workspaces?—
Reply to this email directly or view it on GitHub
#115 (comment).
from che.
Is that a feature for eclipse-che 4.x only? Or is available in 3.x?
I'm trying 3.x, but can't find it
from che.
It's in both, but the way to do it in both is different.
In 3.x, you have to run the /dashboard, which is a JavaScript application
that let's you manage workspaces. We will have /dashboard added to 4.x
within the next two weeks.
Substantially, you will get better performance and more flexibility with
4.0, but it's pre-alpha, so you may run into some stability issues from
time to time.
Tyler Jewell | CEO | tyler@codenvy.com | 978.884.5355
On Wed, Dec 9, 2015 at 6:19 AM, freewind [email protected] wrote:
Is that a feature for eclipse-che 4.x only? Or is available in 3.x?
I'm trying 3.x, but can't find it
—
Reply to this email directly or view it on GitHub
#115 (comment).
from che.
Thanks again, but with the 3.x built-in dashboard, the only thing that related to "workspace" is a "workspace filter". No workspace management, no workspace creation.
Is the "dashboard" you mentioned an external plugin? Do I need to install it?
from che.
Hi. Sorry I couldn't response sooner. It's been one of those days.
You got tripped up because the terminology changes between 3 & 4 and I forget about this. In Che 3, a "project" is the same as a workspace. And each project (after you create it) is given its own unique URL. It's a managed separate entity. So creating multiple projects through the dashboard (or directly in the IDE) achieves the affect of having multiple objects that you can give to different users.
In Che 4, we use "workspace" as this entity that gets its own special URL and is a single space to do a lot of work. We do this because a single workspace can have many projects, each with their own project type and modules that can be individually built & run. So in Che 4 the concept of a workspace is a personal environment for managing projects with a dedicated runtime. It's a broader definition and more flexible.
For Che 3, in the dashboard, there is a "plugins" view. This is not what you need. Ignore this page. You just need projects.
from che.
@TylerJewell Thanks so much, I will try 4.x later
from che.
Related Issues (20)
- On ubuntu based workspace, VS Code "stop workspace" command fails HOT 7
- Failed to run `go build` task, env var is not taking into account
- Workspace actions menu remains open
- Decouple editor definitions from the plugin registry
- Dashboard should switch to the tab with already running workspace HOT 1
- Selecting storage type doesn't work with dashboard factory URL
- All endpoints (ingress) have the same secretName HOT 1
- The dash-licenses PR check fails
- Support start a workspace from a RAW devfile url with any name
- Drop Devfile v1 support in Che Dashboard HOT 1
- Release Eclipse Che 7.85.0 HOT 1
- An empty project is displayed in the editor's project tree.
- "need-triage" label is not added by che-bot for new issues
- Document che-docs/che-website build, release and publishing workflows
- When the disableContainerBuildCapabilities parameter is set to true, RoleBindings for Service Accounts are not created HOT 9
- Sign In to GitHub does not work on Developer Sandbox HOT 2
- Error when start a workspace via factory from the dashboard HOT 1
- oAuthSecret stored in plain text HOT 11
- Che-Code automatic rebase against upstream VS Code is failed
- Right click not working after first one. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from che.