No it isn't. LMDB is so lightweight and fast that I don't need async function calls. I can just assume they return virtually instantly.
Login to reply
Replies (2)
Not only that, notedeck +nostrdb can do 1000s of queries per second in less than a millisecond, so all of my ui can be realtime and no async. Yeah so slow 🙄
It makes a lot of sense if you think about it, once the data is paged in, it’s just a btree data structure in memory. Especially if your data is stored as flatbuffers like strfry and nostrdb.
In fact, i doubt you can make something faster than lmdb. It’s pretty much optimal cache wise.