Architecture
Idum is composed of three core runtime concepts: workflow definitions, worker processes, and the queue substrate connecting them.
Core components
- Workflow definitions: Encode the business process as ordered steps. Keep each step focused, deterministic, and testable in isolation.
- Workers: Consume jobs and execute step logic. Scale workers horizontally without changing workflow behavior.
- Queue: Buffer demand spikes, isolate producers from latency, and enable retries without losing task intent.
Reliability model
- At-least-once delivery requires idempotent handlers.
- Retry with backoff for transient upstream failures.
- Dead-letter handling for non-recoverable jobs.