Skip to content

Improve performance of Charts on 1+ years of data #1142

@devinmatte

Description

@devinmatte

When fetching charts over years (for example data from 2022-2026), we are fetching 100% of days.

This means that we're fetching a huge amount of data, and in many cases timing out. We should improve the performance so these charts load properly.

Some ideas of how we can do that:

  • Batch responses into weeklong data points instead of daily
  • Chunk responses for partial loading / splitting request into multiple requests less likely to time out
  • Add cache layer to improve second load attempt after timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions