Skip to content

Storm of Search API calls on the Spend tab with large result sets #99914

Description

@TMisiukiewicz

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 OwnerCurrent Issue Owner: @ZhenjaHorbach
Issue OwnerCurrent Issue Owner: @daledah

Activity

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorHourlyKSv2ReviewingHas a PR in review

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions