IndexedDB is the reason I'm looking to make multiple threads. getting sick of it freezing the main thread. but its built-in to all browsers so it makes sense to use it as a default
Then maybe have an option to detect and use the local nostr-relay-tray or a SQLite WASM database
Login to reply
Replies (1)
I'd be curious to see performance benchmarks between IndexedDB and SQLite WASM.
You'll have to use shared workers pretty heavily, but that gives true parallel processing across tabs, rather than just concurrent work on a single OS thread.