Menu

kvport: moving Deno KV code to Cloudflare, with real Deno as the specification
📰

kvport: moving Deno KV code to Cloudflare, with real Deno as the specification

DEV Community: serverless·Basar Tuncay·2 days ago
#GZDYST2C
#devtoserverless#devto#dev#deno#real
Long article (860 words) — no AI summary yet.
Reading 0:00
15s threshold

If your app uses Deno KV and kv.atomic().check(...) , the obvious Cloudflare target, Workers KV, will

not take that code unchanged: it is eventually consistent. kvport

puts a Deno.Kv -compatible API on a SQLite-backed Durable Object, so the same calls run on a strongly

consistent store, and a CLI exports, imports and verifies your data. It is alpha. I built it as one

person directing AI coding agents, with tests and review by a separate AI agent as the checks.

The problem

The README cites Deno's announcement that Deno Deploy shuts down about six months after 2026-10-09,

which takes Deno KV with it. Cloudflare's own documentation says Workers KV is "not ideal for

applications where you need support for atomic operations", and Durable Object SQLite storage is

described as transactional and strongly consistent. So the job is a migration path, not a new

database: keep the API, change the store.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.