DenoKV multi-process
Was DenoKV originally designed with the intention of being used in a multi-process setup?
I was considering using it from multiple processes, but sometimes I encounter a "database is locked" error.
3 Replies
GitHub
GitHub - Octo8080X/papyr-kv: PapyrKv is feels like Pub/Sub, runs on...
PapyrKv is feels like Pub/Sub, runs on Deno.KV. Contribute to Octo8080X/papyr-kv development by creating an account on GitHub.
Yes. See 👆
Although I've also had "database locked" a few times on Windows
@Leokuma
Thanks!
I was able to get it running with multiple processes.
When running from a file, KV works fine, but it seems to throw an error due to a file access lock issue.
When running locally, I was able to avoid the issue by self-hosting KV.
https://github.com/denoland/denokv/blob/main/.github/diagram-dark.png#gh-dark-mode-only
GitHub
denokv/.github/diagram-dark.png at main · denoland/denokv
A self-hosted backend for Deno KV. Contribute to denoland/denokv development by creating an account on GitHub.