A lightweight, high-performance distributed task queue system built in Go with Pogocache.
Schedule, execute, and monitor background jobs across multiple worker nodes with blazing-fast speed and minimal resource usage.
Nexq uses Pogocache instead of traditional caching solutions because:
- Faster: Lower latency per request than Redis, Memcache, Valkey, and others
- More Efficient: Uses fewer CPU cycles, reducing server costs and energy usage
- Better Scaling: Optimized for both single-threaded and multi-threaded performance
- Protocol Compatible: Supports Redis wire protocol, making migration seamless
- Distributed Processing: Scale horizontally by adding more worker nodes
- Priority Queues: High, normal, and low priority task execution
- Scheduled Tasks: Delay task execution or schedule for future processing
- Automatic Retries: Configurable retry logic with exponential backoff
- Real-time Dashboard: Monitor task status and worker activity through a clean web interface
- RESTful API: Simple HTTP API using Go's standard
net/httppackage - Multiple Task Types: Register custom handlers for different job types
- Pogocache-Backed: Ultra-fast caching with lower latency and better CPU efficiency than Redis
- Zero Dependencies: Minimal external dependencies, uses Go standard library where possible
- Go 1.25.3 or higher
- Docker (recommended)
- Pogocache server running locally or remotely
See INSTALLATION.md to know how to use Nexq.
See ARCHITECTURE.md to learn about Nexq's architecture.
- Image/video processing pipelines
- Report task performance generator
- Data synchronization tasks
- Scheduled maintenance jobs
- Webhook delivery with retries
- Batch processing operations
See CONFIGURATION.md to know how to configure your own tasks and Pogocache.
See ENDPOINTS.md to know API endpoints.
- Dead letter queue for permanently failed tasks
- Persistent task history
- Task cancellation support
- Worker health monitoring and metrics
- Task dependencies and workflows
- Cron-like recurring tasks
- Authentication and authorization
- Webhook notifications
Contributions are welcome!
Please refer to CONTRIBUTING.md.
This project is under MIT License.
Feel free to use this project however you'd like!
- Go 1.25.5
- Pogocache - Fast caching with focus on low latency and CPU efficiency
- go-redis - Redis/Pogocache client for Go
- sendgrid-go - SendGrid Golang API Library
- pq - Go PostgreSQL driver for
database/sql - Prometheus - Prometheus instrumentation library for Go
- Go standard library (
net/http,encoding/json)