Neon vs Upstash
Both are developer tools. Here is what separates them.
What Neon is
## What Neon is Neon is a Postgres service built on a redesigned storage layer. The database is genuinely Postgres, so your queries, extensions and client libraries behave as they do anywhere else. What changes is the operational model underneath. ## Separating storage from compute Conventional Postgres ties data to the machine serving it, so scaling means resizing that machine and copying means copying the data. Neon separates the two: storage is a distributed service, and compute attaches to it. Two consequences follow, and they are the reason to choose it. ## Branching Because storage is copy-on-write, a branch of the database is created in seconds regardless of size, with the data included, and costs storage only for what subsequently diverges. This makes a database per pull request practical. A migration can be tested against production-like data, a reviewer can click into an environment that has the right rows in it, and the branch is deleted when the pull request closes. Teams that adopt Neon usually do so for this. ## Scale to zero Compute suspends when nothing is connected and resumes on the next connection. For side projects, preview environments and internal tools this turns a persistent monthly cost into close to nothing. The trade is a cold start on the first connection after idling, usually under a second, which matters for a rarely-hit latency-sensitive endpoint and not otherwise. ## Serverless connectivity A pooler and an HTTP driver address the awkwardness of connecting to Postgres from serverless functions and edge runtimes, where a conventional connection pool cannot be held open. ## Recovery Point-in-time restore within the retention window means a bad migration is recoverable to the minute before it ran, rather than to last night's backup. ## Who it suits Teams who want Postgres without operating it, particularly those deploying to serverless platforms or wanting a database per preview environment. Workloads needing sustained high throughput on dedicated hardware are a different shape. ## Pricing shape A free tier with a usage allowance, then plans by compute hours, storage and branch retention. ## Extensions and compatibility The usual Postgres extensions are available, including pgvector for embedding search, PostGIS for spatial data and pg_trgm for fuzzy text matching, so an application relying on them ports without rewriting queries. Connection limits, roles and permissions behave conventionally. What differs operationally is that compute size is adjustable per branch, which lets a preview environment run small while production runs larger against identical data.
What Upstash is
## What Upstash is Upstash provides data services designed for serverless and edge applications: Redis, Kafka, a vector database, and QStash for scheduled and delayed HTTP calls. What they share is a pricing model based on requests rather than uptime, and interfaces reachable without a persistent connection. ## The connection problem Serverless functions and edge runtimes cannot hold a database connection open. Instances are created and destroyed constantly, there may be thousands at once, and each holding a pooled connection exhausts any conventional server. Upstash's Redis is addressable over HTTP, so each operation is a stateless request that any runtime can make. This is the reason the product exists, and it is why a conventional managed Redis is often not a substitute. ## Pricing by request You pay per request with no charge while idle. For a side project, a preview environment, or an application with spiky traffic, that turns a persistent monthly cost into something proportional to use. For sustained high throughput the arithmetic reverses and a dedicated instance is cheaper, so the pattern of your workload decides it rather than the headline rate. ## Durability Data is persisted rather than held only in memory, which differs from the usual assumption that a Redis restart loses everything. That makes it usable for things a cache would not be trusted with, though it is still not a primary database. ## QStash A message queue and scheduler that delivers HTTP requests: publish a job now, or in an hour, or on a schedule, and it calls your endpoint with retries. For serverless applications with no long-running process to hold a scheduler, this replaces a whole component. ## Vector search An embedding database with the same request-based pricing, which suits retrieval features whose usage is unpredictable and which would otherwise mean operating a vector database. ## Who it suits Teams deploying to serverless or edge platforms who need caching, rate limiting, queues or vector search. Applications on conventional long-running servers have cheaper options. ## Choosing the right primitive Reach for the cache when a value is expensive to compute and tolerable when slightly stale, the queue when work should outlive the request that triggered it, and vector storage only once retrieval quality genuinely depends on similarity rather than keywords. Mixing responsibilities into a single store is the common mistake, and it turns a cheap dependency into a component nobody can reason about later.
We are not affiliated with either product. Upvote counts come from the published formula and neither position was paid for.