This thread is wild, I can't believe we don't have better storage primitives in the browser
If its not using OPFS because of the lack of (stupid) security headers what is it using? It seems to be persistent and faster storage than indexeddb
also I wasn't thinking about using multiple tabs or running multiple workers for multiple threads. but I was referring to this queue
https://git.v0l.io/Kieran/snort/src/branch/main/packages/worker-relay/src/worker.ts#L94
It looks like the "barrierQueue" forces the REQ to run one at a time. I don't know if that is a limitation of sqlite wasm but I think it could be possible to run at least 5 - 10 at the same time
Discussion
Mr bod, you might be my favorite nerd