upstash
**Upstash** provides **serverless databases for the edge** — offering Redis, Kafka, and Vector databases designed for serverless environments (Lambda, Vercel, Cloudflare Workers) that are stateless, connection-limit-free, and charge per request instead of provisioned capacity.
**What Is Upstash?**
- **Definition**: Serverless data platform for edge computing
- **Products**: Redis, Kafka, Vector databases
- **Pricing Model**: Pay per request, not provisioned capacity
- **Architecture**: Stateless, HTTP-based access, global replication
**Why Upstash Matters**
- **Serverless-Native**: Designed for Lambda, Vercel, Cloudflare Workers
- **No Connection Limits**: HTTP-based, no TCP connection management
- **Scales to Zero**: Pay only for what you use
- **Global Replication**: Low latency read replicas worldwide
- **Edge-Optimized**: Fast access from edge functions
**Products**: Upstash Redis (REST API, Global Replication), Upstash Kafka (serverless topics), Upstash Vector (RAG/semantic search)
**Problem Solved**: Traditional Redis requires TCP connections; serverless functions spin up/down rapidly causing connection errors and pool exhaustion
**Use Cases**: Caching, Rate Limiting, Session Management, Real-Time Features
**Pricing**: Free Tier (10K req/day), Pay-as-you-go (~$0.20 per 100K), Capped Plans available
**Best Practices**: Environment Variables, Set TTLs, Monitor Usage, Use Capped Plans, Batch Operations
Upstash is **the default data store** for serverless applications — providing Redis compatibility with serverless economics, making data persistence effortless in edge and serverless environments.