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

Be able to read data from disk between restarts #3665

Closed
kahuang opened this issue Nov 11, 2022 · 1 comment · Fixed by #3730
Closed

Be able to read data from disk between restarts #3665

kahuang opened this issue Nov 11, 2022 · 1 comment · Fixed by #3730
Labels
C-anvil Command: anvil T-feature Type: feature

Comments

@kahuang
Copy link

kahuang commented Nov 11, 2022

Component

Anvil

Describe the feature you would like

Anvil will persist state to disk after hitting a certain limit. It would be nice if anvil was able to read this data / persist it between restarts. That way I could run, e.g. a game on anvil, then spin it down when it was no longer being played, and spin it up again when it was.

Additional context

I think what this would involve is:

  • Ability to specify a data directory, where data is persisted (internal state, etc.)
  • Reading from the data directory if path is specified (and bootstrapping state from it on startup)
@kahuang kahuang added the T-feature Type: feature label Nov 11, 2022
@rkrasiuk rkrasiuk added the C-anvil Command: anvil label Nov 13, 2022
@fubhy
Copy link
Contributor

fubhy commented Nov 14, 2022

Agreed. This would be super valuable for using anvil in a "full stack" development environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-anvil Command: anvil T-feature Type: feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants