Problem
On the Spend tab, sections with a large result set (~5k reports) sometimes end up firing a storm of Search requests back-to-back instead of a single request. It is intermittent and I have not pinned down a trigger yet:
- it happens after paginating a section several times (multiple
Search calls for successive offsets),
- but it also happens simply on navigating back to the Spend tab from another tab, with no scrolling involved.
Impact: a burst of redundant backend requests per user, request queue congestion, a stalled/spinning list, and a pile of redundant Onyx writes and re-renders as each response lands — heavy on slower devices.
Root cause is unknown so far. Opening this to track finding it: capture the burst with the offset and params of every call in the sequence, identify what re-issues the requests, and fix it.
Issue Owner
Current Issue Owner: @ZhenjaHorbach
Issue Owner
Current Issue Owner: @daledah
Problem
On the Spend tab, sections with a large result set (~5k reports) sometimes end up firing a storm of
Searchrequests back-to-back instead of a single request. It is intermittent and I have not pinned down a trigger yet:Searchcalls for successive offsets),Impact: a burst of redundant backend requests per user, request queue congestion, a stalled/spinning list, and a pile of redundant Onyx writes and re-renders as each response lands — heavy on slower devices.
Root cause is unknown so far. Opening this to track finding it: capture the burst with the offset and params of every call in the sequence, identify what re-issues the requests, and fix it.
Issue Owner
Current Issue Owner: @ZhenjaHorbachIssue Owner
Current Issue Owner: @daledah