Introduction
TaskDaemon is a high-performance, polyglot task processing system built in Rust. Execute task handlers written in any language via containerized workers.Why TaskDaemon?
Language Freedom
Write handlers in Python, Node.js, Go, Rust, C++, Java, C#, or any language
Container Isolation
Each handler runs in its own container with resource limits
High Performance
Rust core with pre-warmed container pools for sub-10ms latency
Production Ready
Persistent queue, automatic retries, Prometheus metrics
Key Features
- Task Selection Strategies - FIFO, LIFO, or Priority-based task ordering
- Handler Selection Strategies - Round-robin, first-available, or random container selection
- HybridQueue - In-memory queue with SQLite persistence for speed + durability
- Priority Tasks - Queue tasks with priority 0-100 for urgent processing
- Prometheus Metrics - Built-in observability with container pool metrics
How It Works

- Client submits a task via HTTP or gRPC
- TaskDaemon queues the task (with optional priority)
- Worker picks up task based on selection strategy
- Handler container processes task and returns result
- Result stored and available via API
Quick Example
1
Define a handler (Python)
2
Configure TaskDaemon
handlers.toml
3
Queue a task
Handler SDKs
Official SDKs are available for:
Or use the raw protocol to write handlers in any language.
Next Steps
Quick Start
Get running in 5 minutes
Handler SDKs
Write handlers in your language
Configuration
Configure handlers and strategies
Sample Project
Complete working example