Vercel Queues is now in Limited Beta

Authors

1 min read

Vercel Queues is a message queue service built for Vercel applications, in Limited Beta.

Vercel Queues lets you offload work by sending tasks to a queue, where they’ll be processed in the background. This means users don’t have to wait for slow operations to finish during a request, and your app can handle retries and failures more reliably.

Under the hood, Vercel Queues uses an append-only log to store messages and ensures tasks such as AI video processing, sending emails, or updating external services are persisted and never lost.

Key features of Vercel Queues:

  • Pub/Sub pattern: Topic-based messaging allowing for multiple consumer groups

  • Streaming support: Handle payloads without loading them entirely into memory

  • Streamlined auth: Automatic authentication via OIDC tokens

  • SDK: TypeScript SDK with full type safety

import { send, receive } from "@vercel/queue";
await send("topic", { message: "Hello World!" });
await receive("topic", "consumer", (m) => {
console.log(m.message); // Logs "Hello World!"
});

An example of sending and receiving message with a queue.

Sign up for the Vercel Community and express your interest in participating. We'll be in touch soon.