Upstash Has Free Serverless Redis Over HTTP
Traditional Redis needs a server running 24/7. Upstash gives you Redis over HTTP — pay per request, scale to zero, and use from edge functions.
What Upstash Offers
- Redis over HTTP — no persistent connections needed
- Serverless — scales to zero when idle
- Global replication — read replicas worldwide
- Kafka — serverless Kafka with same model
- QStash — serverless message queue and scheduler
- Vector — serverless vector database for AI
Quick Start
import { Redis } from '@upstash/redis'
const redis = new Redis({
url: process.env.UPSTASH_REDIS_REST_URL,
token: process.env.UPSTASH_REDIS_REST_TOKEN,
})
// Works in edge functions, serverless, anywhere
await redis.set('user:1', { name: 'Alex', plan: 'pro' })
const user = await redis.get('user:1')
// Rate limiting
await redis.incr('api:requests:user1')
await redis.expire('api:requests:user1', 60)
Free Tier
| Resource | Free |
|---|---|
| Commands | 10K/day |
| Storage | 256MB |
| Databases | 1 |
| Bandwidth | 50KB/command max |
Why Upstash Over Self-Hosted Redis
- HTTP protocol — works from edge functions and serverless
- Zero ops — no server management
- Pay per request — $0 when not used
- Global — read replicas near users
- Durable — data persisted to disk
📧 spinov001@gmail.com — Serverless architecture consulting
Follow for more serverless tool reviews.
Top comments (0)