News for hackers. Stuff that matters.
Re:Foundation DB Record Layer SQL API by preetamjinka on Wednesday May 07, 2025 @11:24PM (#43922794)
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...

Re:Foundation DB Record Layer SQL API by redditor98654 on Thursday May 08, 2025 @03:36AM (#43923974)
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?
Re:Foundation DB Record Layer SQL API by jwr on Saturday May 10, 2025 @12:07AM (#43943151)
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.