Learnt this one the hard way after I'd already determined a KV schema I liked. Will go back and opti

Learnt this one the hard way after I'd already determined a KV schema I liked. Will go back and optimise later, taking advantage of namespacing helps here. For example, if you had a number fields that belonged to a 'config' object, you might store each key as 'config-{key_name}' so then you're able to either pull the key itself, or all keys under 'config-' using list which is cheaper for reads
Was this page helpful?