Skip to content

Allow running workers in sub-processes #3

@EugeneKostrikov

Description

@EugeneKostrikov

Currently all workers started by monq are running within single process. This puts certain limitations on the level on control monq has over the workers. For instance there's no way to interrupt a job as it runs, it's hard to utilise multi-core hardware while keeping the order of job etc.

A possible solution for it is to run separate workers as sub-processes. This way they can be esily killed completely interrupting job execution, have less impact on each other, monitored better etc.

To limit the scope for this issue we should only implement workers as sub-processes here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions