dyedgreen / deno-sqlite

Deno SQLite module
https://deno.land/x/sqlite
MIT License
409 stars 36 forks source link

Add support for serialization and parallelisation of queries #134

Closed lodry closed 3 years ago

lodry commented 3 years ago

It would be nice to have support for serialization and parallelisation in deno implementation of driver

dyedgreen commented 3 years ago

There isn't any stable support for multi-threading within WASM modules afaik (see https://github.com/WebAssembly/threads/issues/8). The WASM sqlite currently is compiled with multi-threading disabled, and as such all queries are serialized.