← All services

Taskhoster

Durable task queues, self-hosted.

Host durable task queues on your own server. Declare a queue as a local folder named for its domain; a stateless client mirrors it up, and your server takes tasks over HTTPS, hands them to workers, reports progress and results, and keeps every task safe as a file on disk.

tasks.example.com/           your queue host
  taskhoster-queues/
    resize.json              a queue: item, progress & result schemas + settings
    thumbnail.json           another queue - its own endpoint and socket
Visit taskhoster.org ↗ Installation ↗ Usage ↗ Reference ↗

Features

Post & watch

Producers POST a task and get an id, then poll its status or subscribe to it on a WebSocket and watch it move through the queue.

Claim by capability

Workers query the queue for tasks they can handle, are handed one exclusively, report progress, and post a result when done.

Nothing gets stuck

Leases, timeouts and re-queues recover tasks that a worker drops, and a slow worker's late result is still used if nobody beat it.