4 ms·
Would it be possible to run this in the browser? Via WASM or something?
by macawfish 5y ago
Would it be possible to run this in the browser? Via WASM or something?
- eudoxus 5y agoIt wouldn't make too much sense to run a distributed raft-based SQLite system in its entirety in a browser (via WASM). However, you can run an individual SQLite instance in the browser (via WASM) using this: https://sql.js.org/#/ https://sql.js.org/#/
- macawfish 5y agoWhy wouldn't it make sense in your view? By the way, when I ask about "the browser" I'm also thinking of stuff like electron apps and progressive web apps.
- kanwisher 5y agoCause that's a single node, this is made for clusters. Maybe what you are looking for is a replication of another data? What use case would you have for multiple browsers syncing over a network?