Queues
Durable task queues with retries, DLQ and at-least-once delivery.
What it is
Queues are durable, ordered (FIFO) task queues with built-in retry and dead-letter routing. Producers send messages from anywhere with an API key; consumers pull or subscribe via long-poll.
When to use it
- Decouple webhook ingest from downstream processing.
- Buffer load spikes in front of a slow consumer.
- Replay failed work from a DLQ.
Quickstart
asc queues create webhook-ingest --visibility-timeout 30s --dlq webhook-dlq
asc queues send webhook-ingest --body '{"event":"x"}'client.queues.create('webhook-ingest', visibility_timeout_s=30, dlq='webhook-dlq')
client.queues.send('webhook-ingest', body={'event':'x'})await client.queues.send('webhook-ingest', { body: { event: 'x' } });Limits & quotas
| Limit | Default | Burst | Notes |
|---|---|---|---|
| Per million operations | $0.40 | — | |
| Max message size | 256 KiB | — | |
| Max in-flight | 1,000,000 | — |
Pricing
See pricing. Pay-as-you-go, billed monthly via Stripe.
API surface
POST /v1/queuesPOST /v1/queues/{q}/sendGET /v1/queues/{q}/receive
Required scope(s): queues:write. See Scopes.
Security
All access is authenticated and scoped. See Auth & scopes and Network controls.