Skip to main content

Engine Modes & States

Alchemist uses Modes to dictate performance limits and States to control execution flow.

Engine Modes (Concurrency)

Modes define the maximum number of concurrent jobs the engine will attempt to run.

ModeConcurrent JobsIdeal For
Background1Server in active use by other applications.
Balancedfloor(cpu_count / 2) (min 1, max 4)Default. Shared server usage.
Throughputfloor(cpu_count / 2) (min 1, no cap)Dedicated server; clearing a large backlog.
Manual Override

You can override the computed limit in Settings → Runtime. A "Manual" badge will appear in the engine status. Switching modes clears manual overrides.


Engine States (Execution)

States determine whether the engine is actively processing the queue.

StateBehavior
RunningEngine is active. Jobs start up to the current mode's limit.
PausedEngine is suspended. No new jobs start; active jobs are frozen.
DrainingEngine is stopping. Active jobs finish, but no new jobs start.
Scheduler PausedEngine is temporarily paused by a configured Schedule Window.

Changing Engine Behavior

Engine behavior can be adjusted in real-time via the Runtime dashboard or the API. Changes take effect immediately without cancelling in-progress jobs.