prime-reportstream icon indicating copy to clipboard operation
prime-reportstream copied to clipboard

[BUG] Fix slow load times for some receivers in Daily Data API call load time on Staging and Production

Open chris-kuryak opened this issue 1 year ago • 4 comments

Problem statement

The daily data page is loading slowly on staging.

What you need to know

  • FE has identified that the query is returning quickly, so the slow page load is likely a FE or BE implementation issue.
  • Steps to reproduce:
    • Login to staging
    • Dupe as 'Ignore' org
    • Navigate to Daily Data
    • Takes 30+ seconds to load page
  • Similar response has been seen in CA on Production: image.png
image.png

Acceptance criteria

  • [ ] Daily Data page loads within 5 seconds for an average API call on staging and production

chris-kuryak avatar Aug 06 '24 18:08 chris-kuryak

@penny-lischer @chris-kuryak I've tested both locally and in production, and I'm not seeing load times over 3 seconds. Can y'all reproduce?

etanb avatar Aug 12 '24 17:08 etanb

Yes, this is still happening for larger receivers like CA and FL

chris-kuryak avatar Aug 12 '24 20:08 chris-kuryak

We have identified that we think this is a backend issue, not a front-end issue.

chris-kuryak avatar Aug 13 '24 16:08 chris-kuryak

Since FE team owns the API, they are going to look into it first

chris-kuryak avatar Aug 13 '24 16:08 chris-kuryak