Queues: choose an engine
Zenifra's Queues component has two managed engines: Valkey and RabbitMQ®. Both receive messages from producers and deliver them to workers, but they solve different problems. You choose the engine when you create the queue in the Console, and it cannot be changed afterwards.
Which engine to use
| Valkey | RabbitMQ | |
|---|---|---|
| Focus | Simple and fast, for background tasks | Full messaging for microservices |
| Model | Streams with consumer groups and Pub/Sub | Exchanges, routing keys, and queues with bindings |
| Acknowledgment | XACK per message | ack/nack per message and publisher confirms |
| Dead-letter | Your own strategy, using another stream | Native, through a dead-letter exchange |
| Protocol and URL | Redis clients, valkeys:// | AMQP 0-9-1, amqps:// |
| High availability | One primary and two replicas from queue-basic | 3 nodes from queue-basic, with quorum queues by default |
| Page | Queues with Valkey | Queues with RabbitMQ |
Choose Valkey when you need a simple task queue with few message types, workers consuming from the same stream, and low latency. It is the shortest path to sending emails, processing webhooks, or generating files.
Choose RabbitMQ when several services exchange messages with routing rules, when you need exchanges and routing keys to distribute the same event to different queues, or native dead-lettering to isolate messages that failed.
Plans and prices
Both engines use the same paid plans (queue-starter, queue-basic, queue-premium, and queue-enterprise) and the same prices; queue-free is a legacy Valkey plan, available only to organizations that already received the free plans; other organizations get an error when they try to use it. The price is per instance: from queue-basic up, the queue runs 3 instances (Valkey: one primary and two replicas; RabbitMQ: 3 nodes), so you pay 3 times the plan price, and additional storage is charged on each of the 3 copies. When you create the queue, the Console shows the price per instance and the total in the Cost Summary. The Premium and Enterprise plans include metrics on the project page. Organizations with the plan are limited to one free Queue with Valkey: see Limits and quotas. Capacity and price for each plan are in the plan guide and the managed services catalog.
Required permissions
Creating a queue requires managed_service.create on organization:*. To read status, use managed_service.status.read on managed_service:<project-id>; for the masked connection, use managed_service.connection.read; for rotation, use managed_service.credentials.rotate. owner has full access; assistant, member, and API Keys need the corresponding grants. The permissions are the same for both engines.
Create a queue
- In the Console, open the managed service creation and choose Queues.
- Choose the engine: Valkey or RabbitMQ.
- Choose the plan and confirm.
- Save the connection shown at creation. The password only appears then and after a credential rotation.
Frequently asked questions
Can I switch engines after creating the queue?
No. Create a new queue on the other engine, move your producers and consumers, and delete the old one once it is empty.
Do both engines have backups?
Yes. Automatic backups are included in both, with restores done by support. The guarantees for each engine are in Queues with Valkey and Queues with RabbitMQ.
Next steps
RabbitMQ® is a trademark of Broadcom, Inc. in the U.S. and other countries. Zenifra is not affiliated with or endorsed by Broadcom.
Last updated on
Managed Cache
Create a managed Valkey Cache on Zenifra and use cache-aside with TTL, jitter, invalidation and cache-stampede protection, with Node.js and Python examples.
Queues with Valkey: Streams and Pub/Sub
Valkey engine for Zenifra Queues: Streams, consumer groups, XACK, pending-message recovery with XAUTOCLAIM, Pub/Sub, plans, and Node.js and Python examples.