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

Improve UX for Auroraboot state_dir usage #2979

Open
jimmykarily opened this issue Oct 31, 2024 · 2 comments
Open

Improve UX for Auroraboot state_dir usage #2979

jimmykarily opened this issue Oct 31, 2024 · 2 comments
Labels
enhancement New feature or request lane/ux

Comments

@jimmykarily
Copy link
Contributor

jimmykarily commented Oct 31, 2024

Originally discussed here: #2522 (comment)

It seems that the way we re-use the state_dir in Auroraboot can lead to confusion. Let's make sure the user is aware of what is being used and when.

@6ixfalls
Copy link

In my opinion, auroraboot shouldn't default to reusing the kernel generated initially - there doesn't seem to be any use cases for it. I think a good way to do this is to store the current auroraboot config of the state_dir file and read it when running, and if it's different then regenerate the kernel & whatever else needs to be done. It also doesn't seem like auroraboot retains any other part of the state_dir - it still takes a few minutes after restarting for the server to be up.

@tyzbit
Copy link

tyzbit commented Oct 31, 2024

@6ixfalls I have noticed that using GitHub releases instead of container images makes AuroraBoot much faster and restarts reuse artifacts well, so I suspect that AuroraBoot is slower when using container images because they haveΩ less metadata about the release to make decisions on what cached data can be reused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lane/ux
Projects
Status: Todo 🖊
Development

No branches or pull requests

3 participants