Re: lazy loading for rocksdb backend (statefun)

2021-02-16 Thread Igal Shilman
Hello Stephan, The values are loaded lazily, upon access. And this applies to both PersistedTable and PersistedValue. For a PersistedTable in particular, calling get/set/remove will only affect the specific key, and calling entries() will fetch the entire map. Cheers, Igal. On Sun, Feb 14, 202

lazy loading for rocksdb backend (statefun)

2021-02-14 Thread Stephan Pelikan
Hi, for development I used the memory backend. Now I switch to rocksdb backend and have some questions: 1. Will all values (@Persisted) be loaded eagerly (on activation of the function’s scope) or is there some kind of lazy loading? 2. If there is some kind of lazy loading: * Does