D
Deno

help

Using in-memory KV (sqlite) in production

Llfl10/10/2023
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 ?
AAttacler/Bart10/10/2023
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?
Llfl10/10/2023
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) ?
AAttacler/Bart10/11/2023
for as far as i know, SQLite locks the file once you use it so no other instances can access it

Looking for more? Join the community!