Alchemist docs
Alchemist documentation

Find a page.

Type at least two characters.

    Docs menu

    Reference

    Engine Modes & States

    Background, Balanced, and Throughput — understanding concurrency and execution flow.

    Source revision aeebc48

    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.
    PausedNo new jobs start. Active jobs continue until they finish.
    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.

    Authoritative source

    This page is generated from the editable Markdown in the Alchemist repository.

    View docs/content/engine-modes.md at aeebc48

    Documentation © Brooklyn Halmstad. Licensed under CC BY-SA 4.0.

    A Dead Signal Works project.