A serverless app on Vercel needed Redis for rate limiting and caching. But Redis requires a persistent server. Serverless functions are stateless. Mismatch.
Upstash is serverless Redis (and Kafka). HTTP-based, pay-per-request, works perfectly with serverless and edge functions.
What Upstash Offers for Free
- 10,000 Commands/Day - Redis free tier
- 256MB Storage - Per database
- REST API - HTTP-based, no persistent connections needed
- Global Replication - Multi-region read replicas
- TLS - Encrypted connections
- Kafka - 10,000 messages/day free
- QStash - Message queue, 500 messages/day free
- Vector - Vector database for AI, free tier included
Quick Start
import { Redis } from '@upstash/redis'
const redis = new Redis({
url: 'https://your-db.upstash.io',
token: 'your-token',
})
await redis.set('key', 'value')
const val = await redis.get('key')
Works in Vercel Edge, Cloudflare Workers, Deno Deploy - anywhere with fetch.
Website: upstash.com - 10K commands/day free
Need to monitor and scrape data from multiple web services automatically? I build custom scraping solutions. Check out my web scraping toolkit or email me at spinov001@gmail.com for a tailored solution.
Top comments (0)