QStash is a serverless message queue with guaranteed delivery, retries, and cron scheduling.
Send Message
import { Client } from "@upstash/qstash";
const qstash = new Client({ token: process.env.QSTASH_TOKEN });
await qstash.publishJSON({
url: "https://myapp.com/api/process",
body: { orderId: "123" },
retries: 3
});
Delayed + Cron
await qstash.publishJSON({ url: "...", body: {}, delay: 3600 });
await qstash.schedules.create({ destination: "...", cron: "0 9 * * *" });
Key Features
- Serverless message queue
- Guaranteed delivery
- Cron scheduling
- Batch sending
- Signature verification
Need to scrape or monitor web data at scale? Check out my web scraping actors on Apify or email spinov001@gmail.com for custom solutions.
Top comments (0)