Konduit
Workflow orchestration engine with distributed workers, SKIP LOCKED queues, virtual threads, and fan-in coordination.
At a glance
Provide a lightweight, self-hosted workflow orchestration engine with proper distributed coordination, task queuing, and failure recovery.
Engineering teams building async job processing systems who need more than a simple queue but less than a full-blown orchestration platform.
- Distributed worker coordination with SKIP LOCKED-based task claiming
- Fan-in coordination for parallel task aggregation
- Virtual threads for efficient concurrent execution
Context
Many applications need workflow orchestration beyond simple job queues. They need task dependencies, fan-in coordination, failure recovery, and distributed execution. Enterprise solutions exist but are often overkill for mid-scale systems.
The Problem
Simple queues don't handle task dependencies. Enterprise orchestration platforms require significant infrastructure. The middle ground, a lightweight self-hosted orchestration engine, is underserved.
Approach
Konduit uses PostgreSQL's SKIP LOCKED for distributed task claiming, Redis for coordination, and Kotlin coroutines/virtual threads for efficient execution. The architecture is intentionally simple: workers pull tasks, execute them, and report results.