
Upstash QStash Has a Free API — Serverless Message Queue for Edge Functions
What if you could send messages between serverless functions without managing RabbitMQ, SQS, or any infrastructure? Upstash QStash is an HTTP-based message queue designed for serverless and edge environments. Why QStash Exists Serverless functions have a problem: they cannot run background jobs. No persistent connections, no long-running workers, no cron without hacks. QStash solves this with a simple HTTP API: Publish a message → QStash delivers it to your endpoint Schedule messages → built-in cron with Upstash-Cron header Retry on failure — automatic retries with exponential backoff No connections — pure HTTP, works everywhere (Vercel, Cloudflare, Deno Deploy) Quick Start # Publish a message to your endpoint curl -X POST "https://qstash.upstash.io/v2/publish/https://your-app.vercel.app/api/process" \ -H "Authorization: Bearer QSTASH_TOKEN" \ -H "Content-Type: application/json" \ -d '{"orderId": "12345", "action": "send-email"}' Schedule a recurring task: # Run every hour curl -X POST
Continue reading on Dev.to Webdev
Opens in a new tab




