Skip to content

Performance: optimize /analyses.json for faster console load #837

Open

Description

@anchapin

Summary

The management console is bottlenecked by large /analyses.json responses. We should reduce payload size and server processing time to improve total page load.

Proposed work

  • Add pagination/incremental loading support for analyses listing
  • Provide a compact list response shape for UI list views
  • Add conditional request support (ETag / If-None-Match, optionally Last-Modified)
  • Add server-side caching for expensive analyses list generation

Acceptance criteria

  • Endpoint supports paginated queries with documented defaults/limits
  • Compact mode returns only list-view-required fields
  • ETag works correctly (304 on unchanged content)
  • p95 endpoint latency and payload transfer size are measurably reduced on realistic datasets

Context

Helm/EKS-side traffic and resilience tuning has already been added in NatLabRockies/openstudio-server-helm; this issue targets app/API-level bottlenecks that infra changes alone cannot solve.

Activity

  1. brianlball commented on Jul 30, 2026

    @brianlball
    Contributor

    Partially mitigated by the nginx fix in #863/#865 (refs #864): gzip on now covers application/json, so /analyses.json transfer size shrinks substantially on the wire. Server-side render/query time is untouched, so keeping this open for the actual optimization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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