bwkiwi
bwkiwi4mo ago

Deno KV performance within Deno Deploy Platform (Free Tier)

I am using deno kv and during testing found that the performance is significantly slower when deployed to deno (standard - free tier), when running locally I get 1 msec responses to get/set, where as the deployed instance this is 100msec (total keys in DB is very limited, e.g. < 10). Is this a limitation to the Free Tier or is this to be expected in all Deploy Tiers? I do not see anything on the pricing page that would indicate performance differences.
Has anyone experience with this? Thanks ...
1 Reply
isAdrisal
isAdrisal4mo ago
https://deno.com/blog/kv#run-locally-or-managed Deno KV uses sqlite on your disk when running locally, which is why response times are near-instant
Deno Blog
Announcing Deno KV
Introducing Deno KV, a global key-value database for effortless stateful app development on Deno Deploy, offering seamless integration, strong consistency, and versatility.