Working with KeyValueStore, does it make sense at startup to load a copy in a standard Map and then use it ?
Or it is the same reading directly the kvs file when it is needed ?
I mean in terms of execution time, resources etc
Reading from KVS = reading from a SQLite database. In most cases it will be fast enough however if you need the value in some tight loop then better to read it once and reuse.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.