Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refactor wadm state to be less monolithic #205

Open
thomastaylor312 opened this issue Oct 26, 2023 · 3 comments
Open

Refactor wadm state to be less monolithic #205

thomastaylor312 opened this issue Oct 26, 2023 · 3 comments
Labels
enhancement New feature or request pinned Long-term issues that should be solved without going stale

Comments

@thomastaylor312
Copy link
Contributor

As part of the tradeoffs we made during initial development, we basically decided to store state as a big JSON blob per key. The better way to do this with key value stores is to have a top level key like host_<lattice_id> which contains a list of all keys for host. Each host would have a key like host_<lattice_id>_<host_id> so that it is more efficient to query for a single host. This same pattern also applies for the actor and provider state data we're storing. The current way of storing the data should be refactored to match this better pattern.

One other requirement is that this change should automatically convert the old data style to the new data style so that operators do not have to wipe out the current state store

Please note that this will have knock on effects as the washboard uses the wadm KV bucket right now so once this change is made we need to update the washboard before updating the default wadm version in wash

@thomastaylor312 thomastaylor312 added the enhancement New feature or request label Oct 26, 2023
Copy link

stale bot commented Dec 26, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this has been closed too eagerly, please feel free to tag a maintainer so we can keep working on the issue. Thank you for contributing to wasmCloud!

@stale stale bot added the stale label Dec 26, 2023
Copy link

stale bot commented Feb 25, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this has been closed too eagerly, please feel free to tag a maintainer so we can keep working on the issue. Thank you for contributing to wasmCloud!

@stale stale bot added the stale label Feb 25, 2024
Copy link

stale bot commented Apr 27, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this has been closed too eagerly, please feel free to tag a maintainer so we can keep working on the issue. Thank you for contributing to wasmCloud!

@stale stale bot added the stale label Apr 27, 2024
@brooksmtownsend brooksmtownsend added the pinned Long-term issues that should be solved without going stale label Apr 29, 2024
@stale stale bot removed the stale label Apr 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request pinned Long-term issues that should be solved without going stale
Projects
None yet
Development

No branches or pull requests

2 participants