You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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!
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!
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!
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 likehost_<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
The text was updated successfully, but these errors were encountered: