Menu

Vercel Queues is now in Limited Beta - Vercel
📰

Vercel Queues is now in Limited Beta - Vercel

Vercel News·Joe Haddad·5 months ago
#9UBrDHzd
#vercel#queues#message#queue#sending
Reading 0:00
15s threshold

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 .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.