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

Default workspace behaviors #854

Closed
ddementieva opened this issue Mar 28, 2016 · 6 comments
Closed

Default workspace behaviors #854

ddementieva opened this issue Mar 28, 2016 · 6 comments

Comments

@ddementieva
Copy link
Contributor

Following the discussion we had during the R&D call of Tuesday 23th February, we need to change the default behaviors of workspace states.

When, a new workspace is created: it always start from a base image.

When a user is working in a workspace, we need to:

  • auto-snapshot the state of the workspace where we are shutting it down
  • auto-restore the latest workspace's snapshot when the user come back to his work.

This way, the default behavior will be that the user will get his workspace in the exactly same state as it was when he leaves it.

This behavior, must be a default behavior handled by the server for all clients - so clients must not manage that logic.

@ddementieva
Copy link
Contributor Author

(Comment by Sergii Kabashniuk)

After some brief internal discussion. We think that you proposal may have unwanted problem with performance.
On the first stage we propose to add workspace configuration parameters one for auto-snapshot and one for auto-restore
Is that ok for you?

@ddementieva
Copy link
Contributor Author

(Comment by Stévan Le Meur)

Okay.

Then it means that this behaviour will be configurable per workspace, right?

@ddementieva
Copy link
Contributor Author

(Comment by Sergii Kabashniuk)

yes

@ddementieva
Copy link
Contributor Author

(Comment by Stévan Le Meur)

Okay, then it is fine for me.
Thanks.

@ddementieva
Copy link
Contributor Author

(Comment by Sergii Kabashniuk)

When, a new workspace is created: it always start from a base image.
query parameter "?start=true"
auto-snapshot the state of the workspace where we are shutting it down
auto-restore the latest workspace's snapshot when the user come back to his work.
One workspace attribute. Default false.

@ddementieva
Copy link
Contributor Author

(Comment by Gennady Azarenkov)

I would make 2 self explained parameters, one for start one for backup, like
"start-after-create" - whether the workspace automatically started after creation
"auto-use-backup" - whether the workspace will create snapshot automatically after stop and use it after start

@ghost ghost closed this as completed Mar 30, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant