-
-
Notifications
You must be signed in to change notification settings - Fork 422
Open
Description
Wanted to call out that SQLite's "lack of concurrency" as it is called out in the readme:
no amount of asynchronicity will save you from SQLite3's serialized nature.
is a bit misleading. The serial nature is really a problem of the pairing of SQLite w/ JavaScript and doesn't exist in languages able to spawn threads. In languages that support threads, you can spawn many concurrent read connections and not be constrained to serial reads when in WAL mode.
This is also true for writes for those using SQLite's HCTree -- https://sqlite.org/hctree/doc/hctree/doc/hctree/index.html
no amount of asynchronicity will save you...
You could work around this in NodeJS by spawning dedicated worker threads for long-running reads.
Metadata
Metadata
Assignees
Labels
No labels