Upstash

active

by Upstash, Inc. · since 2021 · also known as Upstash Redis

Serverless, per-request-priced Redis with an HTTP API built for edge and serverless functions.

key-valuemanaged serviceproprietarygrowing

Overview

Upstash runs a Redis-compatible database as a serverless service: you pay per command (or a flat plan), idle databases cost nothing, and an HTTP/REST API lets Cloudflare Workers, Vercel Edge and AWS Lambda use it without persistent TCP connections. Data is persisted to disk and can be replicated globally with reads served from the nearest region. The same company offers QStash (HTTP message queue), Vector, Search and Workflow products. It suits low-to-moderate traffic apps and edge functions; at sustained high throughput a fixed-price plan or self-managed cache usually wins.

Strengths & trade-offs

Strengths

  • +Scale-to-zero pricing: idle databases are free
  • +HTTP API works from edge runtimes that cannot open TCP sockets
  • +Global read replicas close to edge functions
  • +Generous free tier and Vercel/Cloudflare integrations

Trade-offs

  • −Per-command pricing gets expensive at sustained high throughput
  • −HTTP round trips add latency versus a co-located cache
  • −Not every Redis command or module is supported
  • −Proprietary service with no self-hosted option

Great for

  • +Rate limiting and caching in edge and serverless functions
  • +Session storage for Next.js and Vercel apps
  • +Side projects and low-traffic production apps

Think twice for

  • −Very high, steady request rates
  • −Workloads needing self-hosting or VPC-only access

Capabilities

Native or official first-party support · 10 of 25 tracked

✓Transactions
✓Geospatial
✓JSON
✓Stored procedures
✓TTL / expiry
✓Pub/Sub
✓In-memory
✓Durable persistence
✓Encryption at rest
✓Role-based access
–Joins
–Secondary indexes
–Full-text search
–Vector search
–Change data capture
–Triggers
–Materialized views
–Columnar storage
–Compression
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
Native
Multi-region
Read replicas
Transactions
Limited ACID
Consistency
Eventual
Schema
Schemaless
Architecture
Serverless, Distributed, Primary replica
Query languages
Redis commands (RESP), Lua

Global databases replicate to multiple read regions; fixed plans go up to hundreds of GB.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

available on · AWS · Google Cloud · Azure

Ecosystem

compatible withRedis
apis & protocolsRESP2/RESP3, REST/HTTP
client languagesJavaScript, Python, Go, Java, Rust, PHP

Alternatives to Upstash

Compare all→
RedisKey-Value84.3

The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.

upstash vs redis →
Amazon ElastiCacheKey-Value29.1

AWS's managed Valkey, Redis OSS and Memcached service, provisioned or serverless.

upstash vs amazon-elasticache →
MomentoKey-Value9.0

Managed Valkey and serverless cache/pub-sub from ex-DynamoDB engineers, plus self-hosted Valkey tooling.

upstash vs momento →
Cloudflare Workers KVKey-Value4.4

Globally cached, eventually consistent key-value store for read-heavy data at Cloudflare's edge.

upstash vs cloudflare-workers-kv →
ValkeyKey-Value58.0

The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.

upstash vs valkey →
PikaKey-Value5.8

Qihoo 360's Redis-compatible, RocksDB-backed store for datasets too big for memory.

upstash vs pika →

Upstash FAQ

What is Upstash?

Upstash is a key-value database by Upstash, Inc., first released in 2021. Upstash runs a Redis-compatible database as a serverless service: you pay per command (or a flat plan), idle databases cost nothing, and an HTTP/REST API lets Cloudflare Workers, Vercel Edge and AWS Lambda use it without persistent TCP connections. Data is persisted to disk and can be replicated globally with reads served from the nearest region. The same company offers QStash (HTTP message queue), Vector, Search and Workflow products. It suits low-to-moderate traffic apps and edge functions; at sustained high throughput a fixed-price plan or self-managed cache usually wins.

Is Upstash open source?

No. Upstash is proprietary, closed-source software.

Does Upstash support ACID transactions?

Partly. Upstash offers limited ACID guarantees (for example, single-record or single-partition transactions), with eventual consistency.

Does Upstash scale horizontally?

Upstash scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at small scale (≤ 100 GB). It supports cross-region read replicas.

How can I run Upstash?

You can use the vendor's managed cloud, run it serverless and run it at the edge. It is available on AWS, Google Cloud and Azure.

What is Upstash best for?

Upstash is a strong fit for rate limiting and caching in edge and serverless functions; session storage for Next.js and Vercel apps; and side projects and low-traffic production apps. Think twice for very high, steady request rates.

What are the best alternatives to Upstash?

Common alternatives to Upstash include Redis, Amazon ElastiCache, Momento, Cloudflare Workers KV and Valkey. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

How popular is Upstash?

Upstash ranks #158 of 844 databases on the WhichDB Score (20.4/100), and #21 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.