8000 Workspaces list pagination is slow with several hundred workspaces · Issue #18707 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
Workspaces list pagination is slow with several hundred workspaces #18707
Open
@ethanndickson

Description

@ethanndickson

On our dev.coder instance we currently have 577 workspaces. With no filters applied, I've found that switching from the first page of workspaces to the second takes 6 seconds, whilst the UI provides no feedback the next page is loading.

Of note is that the query for actually retrieving that second page of workspaces isn't particularly slow, the browser dev tools indicate the query to api/v2/workspaces?page=2&limit=25&offset=25 takes ~500ms. Also of note is that this request isn't sent immediately on click, it (weirdly) takes a few seconds to appear in the dev tools.

Given this, I suspect this is a primarily frontend issue.

I also note that when changing page, the frontend queries /api/v2/workspacebuilds/{id}/parameters for all visible workspaces, which may potentially be contributing to the unresponsiveness, but only by a few hundred milliseconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    s3Bugs that confuse, annoy, or are purely cosmeticsiteArea: frontend dashboard

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0