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

software to manage lifecycle of spacemesh components #271

Open
dshulyak opened this issue Oct 3, 2023 · 2 comments
Open

software to manage lifecycle of spacemesh components #271

dshulyak opened this issue Oct 3, 2023 · 2 comments

Comments

@dshulyak
Copy link

dshulyak commented Oct 3, 2023

in existing setup smapp manages spacemesh lifecycle, it has a few downsides:

  • node can't be upgraded without updating smapp
  • it is hard to use smapp with node that is not managed by smapp (not talking about wallet mode)
  • smapp heuristic for node liveness is suboptimal
  • it is not future proof, as we will have more than one component

as such the goal of this proposal is to write a software that will:

  • daemonize and run components - node / post service / vm binaries
  • provide API for smapp / other clients to check components liveness
  • provide API to check upgrades
  • execute upgrade for individual components (possibly in a sophisticated manner, such that stop nodes at specific layers)
@dshulyak
Copy link
Author

dshulyak commented Oct 3, 2023

it will be very required before vm is integrated as it will be running in a separate binary. it is also beneficial for #259 , even if it is integrated directly into go-spacemesh for time being.

@dshulyak dshulyak mentioned this issue Oct 3, 2023
3 tasks
@dshulyak
Copy link
Author

one of the features that we need is to get logs automatically spacemeshos/go-spacemesh#4085

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant