lfl
lfl14mo ago

Using in-memory KV (sqlite) in production

Is it ok to use the KV backed by a local SQLite database in production ? If not, could you explain why ? If yes, do you have resources to share about deploying the in-memory KV ?
3 Replies
Attacler/Bart
Attacler/Bart14mo ago
should be fine depending on the load/size of the db the only part that confuses me a little is "in-memory", i guess your using the default openKV in deno?
lfl
lflOP14mo ago
Thank you for the quick answer ! Yes I do I use the default local built-in kv Is it still possible (using the built-in kv) to handle replication (on different docker instances for example) ?
Attacler/Bart
Attacler/Bart14mo ago
for as far as i know, SQLite locks the file once you use it so no other instances can access it