Skip to main content

Quick Start

Get TaskDaemon running in under 5 minutes.

Prerequisites

Docker installed and running

Steps

1

Create a Handler

Create a new directory and add a simple Python handler:
Create handler.py:
handler.py
Create Dockerfile.handler:
Dockerfile.handler
2

Build the Handler Image

3

Create Handler Config

Create handlers.toml:
handlers.toml
4

Start TaskDaemon

Wait a few seconds, then check logs:
You should see:
5

Queue a Task

Response:
6

Check Result

Response:

Cleanup

Complete Script

Here’s everything in one script:
quickstart.sh

Next Steps

Use an SDK

Cleaner handler code with official SDKs

Sample Project

Complete working example with C++ handler

Configure Strategies

FIFO, LIFO, or Priority task ordering

Add Monitoring

Prometheus metrics and Grafana dashboards