---
title: "Deno KV vs. Cloudflare Workers KV, Upstash Redis, AWS DynamoDB, and Google Firestore"
description: "A vendor-run benchmark compares Deno KV with Upstash Redis, DynamoDB Global Tables, Google Firestore and Cloudflare Workers KV by timing 10-record reads and writes from colocated serverless functions, with warm-up reads excluded."
url: "https://swe.quest/articles/deno-kv-vs-cloudflare-workers-kv-upstash-redis-aws-dynamodb-and-google-firestore-e5a149ce3d17d354"
canonical: "https://deno.com/blog/comparing-deno-kv"
source: "Deno"
published: "2023-12-13"
difficulty: "medium"
kind: "Research"
reading_minutes: 9
tags: ["databases","serverless","performance","consistency","cdn-edge"]
---

# Deno KV vs. Cloudflare Workers KV, Upstash Redis, AWS DynamoDB, and Google Firestore

A post on [Deno](https://swe.quest/sources/deno.md), published 2023-12-13, 9 min read, Research. Original: [https://deno.com/blog/comparing-deno-kv](https://deno.com/blog/comparing-deno-kv)

## Summary

A vendor-run benchmark compares Deno KV with Upstash Redis, DynamoDB Global Tables, Google Firestore and Cloudflare Workers KV by timing 10-record reads and writes from colocated serverless functions, with warm-up reads excluded. At p99, Upstash (139ms read) and Deno KV (90ms read, 166ms write) were fastest, while Cloudflare KV was slowest because its caching and eventual consistency make writes take up to 60s to become visible. The comparison also covers each store's consistency and isolation levels, per-million read/write pricing and setup experience. The databases offer different consistency guarantees, so the latency numbers are not strictly like-for-like.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Consistency models](https://swe.quest/tags/consistency.md) (Distributed systems)
- [CDN & edge](https://swe.quest/tags/cdn-edge.md) (Infrastructure)

## Prerequisites

- key-value stores
- eventual vs strong consistency ([easy posts on Consistency models](https://swe.quest/tags/consistency.md?difficulty=easy))
- serverless functions ([easy posts on Serverless](https://swe.quest/tags/serverless.md?difficulty=easy))

## Keywords

Deno KV, Cloudflare Workers KV, Upstash Redis, DynamoDB Global Tables, Google Firestore, FoundationDB, Deno Deploy

## Related posts

- [Announcing Deno KV](https://swe.quest/articles/announcing-deno-kv-d97d28c9a7128cf3.md): Deno · 2023-05-01 · Medium · 5 min read · Databases, Consistency models, Replication, JavaScript
  Deno KV is a strongly consistent key-value database built into the Deno runtime.
- [Deno KV internals: building a database for the modern web](https://swe.quest/articles/deno-kv-internals-building-a-database-for-the-modern-web-61dddae321d95df6.md): Deno · 2023-09-14 · Hard · 10 min read · Distributed databases, Consistency models, Storage engines, JavaScript
  Deno KV's production backend runs on FoundationDB, with a custom "transaction layer" in front of it that handles multi-tenant configuration, JavaScript-native types such as bigint sums, and cross-region replication.
- [Introducing Web Cache API support on Deno Deploy](https://swe.quest/articles/introducing-web-cache-api-support-on-deno-deploy-30aea198ea4df954.md): Deno · 2024-08-27 · Medium · 4 min read · Caching, Serverless, JavaScript, CDN & edge
  Deno Deploy now offers beta support for the web-standard Cache API, giving serverless code semi-persistent storage for Request/Response pairs via caches.open(), cache.match() and cache.put().
- [Introducing KV Backup for Deno Subhosting](https://swe.quest/articles/introducing-kv-backup-for-deno-subhosting-6886c3813b5bf7c0.md): Deno · 2024-07-09 · Medium · 4 min read · Serverless, Databases, JavaScript, Cloud platforms
  Deno Subhosting now supports continuous backup of Deno KV databases to customer-owned S3-compatible object storage, enabling point-in-time recovery.
- [Bringing SQLite to Vercel Functions with Turso](https://swe.quest/articles/bringing-sqlite-to-vercel-functions-with-turso-afed2a49c7b44020.md): Turso · 2026-02-19 · Medium · 8 min read · SQLite, Serverless, Replication, Multi-tenancy, JavaScript
  Turso's partial sync replicates a subset of SQLite database pages into Vercel Functions so reads run in-process with no network round-trip, while writes go to the remote Turso database for durability and consistency.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
