Suppose I had an implementation for a (MT safe) all in memory KV store based on tries, for example where the memory overhead is low -- certainly lower than hashing. Is this something I can plug into FDB?
You write "giant hash map that will guarantee that items are in sorted order". Where can I get more info on that?
Both keys and values in FoundationDB are simple byte strings and keys are treated as members of a total order, the lexicographic order over the underlying bytes, in which keys are sorted by each byte in order.