Redis-as-a-service built for Serverless with REST API support. Free tier with 10K commands/day. Native integration with Vercel Edge Functions and Cloudflare Workers.
Traditional Redis requires persistent TCP connections, but serverless functions are stateless short-lived instances that cannot reuse connections. Upstash provides HTTP/REST API access to Redis, where each request is independentโperfectly matching the serverless execution model for Next.js, Vercel Edge Functions, and Cloudflare Workers.
Create a database at console.upstash.com, copy the REST URL and token, set them as environment variables, and use @upstash/redis client. Works in Edge Runtime with zero TCP connection overhead.
Upstash is one of the fastest-growing infrastructure services in the Next.js ecosystem. Nearly every team using Vercel is using Upstash for caching and rate limiting.