Vercel Blog

Vercel Queues is now in Limited Beta

thumbnail

Vercel Queues Limited Beta

  • Vercel Queues is a message queue service built for Vercel applications, currently in Limited Beta.
  • It allows users to offload work by sending tasks to a queue for processing in the background.
  • Users no longer have to wait for slow operations during a request, and the app can handle retries and failures more reliably.

Key Features of Vercel Queues

  1. Pub/Sub Pattern

    • Topic-based messaging enabling multiple consumer groups.
  2. Streaming Support

    • Ability to handle payloads without loading them entirely into memory.
  3. Streamlined Auth

    • Automatic authentication via OIDC tokens.
  4. SDK

    • TypeScript SDK with full type safety for developers.

Example of Sending and Receiving Messages

// Sending a message
const message = { key: 'value' };
await queue.send(message);

// Receiving a message
const message = await queue.receive();
console.log(message);

Participation

  • To participate in the Vercel Queues Limited Beta, please sign up for the Vercel Community and express your interest.
  • More information will be provided to those who express interest.

Learn More

  • Read more about Vercel Queues and its capabilities on the official Vercel website.