New Post
Currently the Map implementation of Persist is nice as it is agnostic to what Cloud storage is used. But given it is implemented in relation to the basic javascript Map object it does not have amy local storage without adding environment specific code locally. It would be very useful in a local development environment to also have persistence for this data.
The only option for KVS with local storage currently in Klotho is to use Redis, however this means you are locked to using Redis in the cloud also.
Suggestion is to make a Persist option that is backed locally with a simple KVS store based on some popular OSS implementation. Similarly to how Serialize is used to generalise ORM storage.
The aim would be to have local storage of Key/Value at the same time as it is agnostic to what store is used on cloud.