Skip to content

Optimize caching orchestrator info and stakes #2330

Open
@leszko

Description

@leszko

We cache some information about the active orchestrators:

This caching process involves executing n of Os HTTP requests in parallel. While it's not an issue for now, in the future, when we increase the number of active orchestrators, we may encounter an issue of too many HTTP requests running in parallel.

We should:

  • verify that we really need the information about all active orchestrators
  • spread in time fetching this information to avoid sudden spikes of CPU usage or network congestion, for example, by batching the number of parallel HTTP requests and executing batches sequentially

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions