Closed fontanierh closed 1 year ago
Some discussion about this in this Slack thread
TLDR:
In the end, the team agreed that further exploration and evaluation are required before making a decision.
We're going with SQLite as NoSQL dbs have limitations when it comes to isolating data soruces from each other with untrusted queries. "just in time" sqlite has proved to be ~fast enough on a 35MB database
The original idea was to store the actual data in a JSON column in our app database, and re-construct an in-memory SQLite DB at query time to execute the query.
As Philippe suggests, it may be worth looking into persistent NoSQL DBs.
Upsides of “just-in-time SQLite in-memory”:
Downsides of “just-in-time SQLite in-memory”: