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

How to reset a VM ? #106

Open
hoh opened this issue Dec 28, 2021 · 0 comments
Open

How to reset a VM ? #106

hoh opened this issue Dec 28, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@hoh
Copy link
Member

hoh commented Dec 28, 2021

Requested by @claudioALEPH 👍

I was also thinking that you maybe want to reset the vm from the interface as well. I can imaging it can get stuck at times and then it’s nice that you can reset it from the interface. Or is that too grazy?

My understanding is that resetting a VM can mean two different things:

  • shutting down one or all running instances of the VM so they will have to reboot
  • replacing the mutable volumes by new empty ones

From a technical point of view, I see two ways to achieve these:

1. Aleph messages

By sending a new version of the Aleph program. The VM executor already implements the requirements to achieve this. In terms of UX, Aleph-Account and Aleph-Client CLI could include tools that make this operation easier. The generated actions would not be logged as Aleph messages.

2. Signed Pub/Sub

By sending a signed message to the VM executor on a separate channel. This could for example be a dedicated IPFS pub/sub channel. In terms of UX, Aleph-Account and Aleph-Client CLI could include tools that make this operation easier. The generated actions would not be logged as Aleph messages.

@hoh hoh added the enhancement New feature or request label Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant