Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GetProvisionerJobsByIDsWithQueuePosition is very expensive at scale #21337

@spikecurtis

Description

@spikecurtis

With a large number of active builds or workspaces, these queries can take over 100ms

Image

These queries happen on every workspace update while watching, and on every call to the /api/v2/workspaces endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scaletestIssues related to scale testing.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions