The Redis queue API is no longer supported and has been removed from Cog.
Overview
The Redis queue worker functionality that was previously available in Cog has been deprecated and removed. This feature allowed models to process predictions asynchronously using Redis as a message queue backend.Migration
If you were using the Redis queue worker in previous versions of Cog, you have several alternatives:Use HTTP Endpoints
The standard HTTP server mode provides a synchronous API for running predictions:External Queue Solutions
For asynchronous processing, you can integrate Cog with external queue systems:- Celery - Python-based distributed task queue
- RQ (Redis Queue) - Simple Python job queue
- BullMQ - Redis-based queue for Node.js applications
- Cloud-native queues - AWS SQS, Google Cloud Tasks, Azure Queue Storage
Deployment Options
For production deployments with built-in queue management, consider:- Replicate - Fully managed platform for running machine learning models with automatic scaling and queue management
- Custom infrastructure - Build your own queue system around Cog’s HTTP server using container orchestration platforms like Kubernetes