Skip to content

Dynamically start/stop worker threads #9

@poef

Description

@poef

If the whole system is idle, there is no need to keep idle threads around, or at least no more than 1 (to avoid lag).
It would be nice to have an option to set minimum and maximum number of query threads, and start new ones if there are no more free workers and max-workers has not yet been reached. And after a time out stop idle threads untill min-workers is reached.
This allows you to keep less used stores running on a resource constrained server, without them using lots of memory most of the time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions