Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Specify warmup instead of cold starting the ExecutorServiceHandler #112

@Tzal3x

Description

@Tzal3x

So far workers are created on demand from the eshandler, meaning that there is a cold start. With the current implementation, it will take a few requests for the eshandler to adapt to the load and have available workers waiting to accept transactions.

In most cases it would be useful to "warmup" the eshandler to be ready to execute transactions from the moment of initialization, without the need to accept requests first.

i.e. we could define a warmup function that adds workers to the _workersQueue a-priori, during initialization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:lowproposalProposals regarding the library's features. Requires a discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions