top | item 43922794

(no title)

preetamjinka | 9 months ago

While this isn't specifically for FoundationDB, I wrote this post many years ago about how to implement (secondary) indexes on top of a key-value store. [0]

https://misfra.me/2017/01/18/how-to-implement-secondary-inde...

discuss

order

redditor98654|9 months ago

Interesting that you choose to do it manually. Do you do this as a transaction so that the indexes are always updated. If not, how do you handle partial failures?

jwr|9 months ago

Of course you update indexes in a transaction. Doing this manually has a lot of advantages, some of which I outlined in my other comments in this thread.