Production-grade distributed task queue and monitoring platform built with FastAPI, Celery, Redis, PostgreSQL, and React.
QueueX is an open-source asynchronous job processing platform designed to demonstrate production backend engineering concepts such as distributed workers, reliable task execution, retries, scheduling, real-time monitoring, and fault recovery.
Instead of executing long-running operations inside the request-response cycle, QueueX offloads work to background workers, enabling applications to remain responsive while processing jobs asynchronously.
Modern applications frequently execute operations that take seconds or minutes to complete:
- AI inference
- Audio transcription
- Image processing
- Email delivery
- Report generation
- Data import/export
- File compression
Executing these tasks synchronously increases latency and limits scalability.
QueueX solves this problem by providing a reliable distributed background processing system.
- Asynchronous job processing
- FIFO scheduling
- Priority queues
- Delayed jobs
- Scheduled execution
- Retry queues
- Dead Letter Queue (DLQ)
- Distributed workers
- Lease-based job reservation
- Worker heartbeats
- Graceful shutdown
- Automatic failure recovery
- Horizontal scaling
- Live dashboard
- Queue metrics
- Worker health
- Job timeline
- Execution logs
- Real-time WebSocket updates
- JWT authentication
- Refresh tokens
- Authorization
- Input validation
- Idempotency support
- At-least-once delivery
- Retry policies
- Lease expiration
- Crash recovery
- Structured logging
Client Applications
(AudioPilot, Trackathon, Dashboard)
│
▼
QueueX REST API
(FastAPI)
│
┌──────────────┴──────────────┐
│ │
PostgreSQL Redis Queue
│ │
└──────────────┬──────────────┘
│
Distributed Workers
│
WebSocket Gateway
│
React Dashboard
- FastAPI
- Celery
- SQLAlchemy
- Alembic
- Pydantic
- PostgreSQL
- Redis
- React
- TypeScript
- Tailwind CSS
- Docker
- Docker Compose
- Nginx
- Pytest
- GitHub Actions
QueueX/
│
├── backend/
├── frontend/
├── worker/
├── docker/
├── docs/
├── scripts/
├── .github/
├── README.md
├── LICENSE
├── CHANGELOG.md
└── VERSION.md
The complete system design is available in the docs/ directory.
- Requirements Specification
- System Architecture
- Database Design
- Queue System Design
- REST API Specification
- Architecture Decision Records (ADRs)
- Development Roadmap
- Project foundation
- Docker
- PostgreSQL
- FastAPI
- Authentication
- JWT
- User management
- Job APIs
- Validation
- Pagination
- Redis queue integration
- Worker engine
- Retry system
- Dead Letter Queue
- Failure recovery
- Dashboard
- WebSockets
- Testing
- CI/CD
- Production-ready release
QueueX is designed to be reusable infrastructure for multiple applications.
Initial integrations include:
- AudioPilot — asynchronous transcription and AI processing
- Trackathon — playlist imports, analytics, and background synchronization
Future applications can integrate with QueueX through its REST API and worker framework.
Contributions, feature requests, and bug reports are welcome.
Please read the contribution guidelines before opening a pull request.
This project is licensed under the MIT License.