Project

General

Profile

Actions

Cleanup #50963

closed

Tasks #36451: mgr/dashboard: Scalability testing

mgr/dashboard: stop polling when page is not visible

Added by Ernesto Puerta almost 3 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
UI
Target version:
-
% Done:

0%

Tags:
Backport:
pacific quincy
Reviewed:
Affected Versions:
Pull request ID:

Description

Modern browsers provide support to detect whether a page is visible by the user or not (https://www.w3.org/TR/page-visibility/).

We should rely on that to only poll the back-end when the browser tab is visible. That way we'd heavily reduce the load generated from the front-end. That might have an impact, for example, if a user has many Dashboard tabs opened, which would multiply the number of HTTP requests to the back-end.


Related issues 2 (0 open2 closed)

Copied to Dashboard - Backport #56037: quincy: mgr/dashboard: stop polling when page is not visibleResolvedSarthak GuptaActions
Copied to Dashboard - Backport #56038: pacific: mgr/dashboard: stop polling when page is not visibleResolvedSarthak GuptaActions
Actions #1

Updated by Alfonso Martínez almost 3 years ago

  • Assignee changed from Nizamudeen A to Alfonso Martínez
Actions #3

Updated by Sarthak Gupta almost 2 years ago

  • Assignee changed from Alfonso Martínez to Sarthak Gupta
Actions #4

Updated by Sarthak Gupta almost 2 years ago

  • Status changed from New to In Progress
  • Pull request ID set to 46370
Actions #5

Updated by Ernesto Puerta almost 2 years ago

  • Status changed from In Progress to Pending Backport
  • Backport set to pacific quincy
Actions #6

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56037: quincy: mgr/dashboard: stop polling when page is not visible added
Actions #7

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56038: pacific: mgr/dashboard: stop polling when page is not visible added
Actions #8

Updated by Nizamudeen A almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF