How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Sorting Ordered Data in a Key-Value Store

calendar_today November 1, 2019 person domain kvdb

Most key-value databases, including KVdb, store keys in a lexicographic order. What does this mean? Imagine you save some values to a bucket: Set peach Set apple Set kiwi What order will the keys be returned when enumerating the bucket? apple , kiwi , peach as expected. It’s basically dictionary order. What about numbers? Aha! Good question: Set 10 Set 2 Set 1 How are the keys returned? 1 , 10 ,…

open_in_new Read original post