At least in Blowater, my current solution is to treat IndexedDB as a huge string store. I don't query from it at all. I just load all events to memory on init and do manual map/filter/reduce on a huge event array. The performance is 100X better than querying from IndexedDB, even for 100K+ events.
Login to reply
Replies (4)
Wow didn’t realize perf was that bad.
I do the same thing. Write performance is the bottleneck though, read is slow but not unusable.
Looks like we all have the same problem. It's very good that we are exploring solutions independently. Creative solutions will emerge.
🤯 that’s insane. It’s actually faster to pull in everything and operate on huge arrays?!