Vercel Queues now in public beta
Source: Vercel Blog
Overview
Vercel Queues is a durable event‑streaming system built with … and is now available in public beta for all teams. It powers:
- Direct message publishing and consumption
- Workflow for ergonomic multi‑step orchestration
Why use Queues with Functions?
Functions often need a reliable way to defer expensive work and guarantee that tasks complete even when functions crash or new deployments roll out. Queues makes it simple to process messages asynchronously with:
- Automatic retries
- Delivery guarantees (at‑least‑once semantics)
How it works
Publish messages
Publish messages from any route handler.
Create a consumer
Create a consumer to receive messages.
Configure the consumer group
Configure the consumer group that will process the messages.
Adding a trigger makes the route private: it has no public URL and only Vercel’s queue infrastructure can invoke it.
Billing
Vercel Queues is billed per API operation, starting at $0.60 per 1 M operations. It includes:
- Functions invoked by Queues in push mode are charged at existing Fluid compute rates
Getting started
Refer to the Vercel Queues documentation for detailed setup instructions.
Architecture & Guarantees
- Messages are sent to a durable topic
- The queue fans messages out to subscribed consumer groups
- Each consumer group processes messages independently
- The queue redelivers messages to consumer groups until successfully processed or expired
Key Features
- Multiple AZ synchronous replication
- At‑least‑once delivery
- Customizable visibility timeout
- Delayed delivery
- Idempotency keys
- Concurrency control
- Per‑deployment topic partitioning