[2.3, UI] Websocket is constantly resending known data

Bug #1722693 reported by Lee Trager
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Lee Trager

Bug Description

While looking at the websocket traffic using Chrome's network monitor I've noticed MAAS is resending data despite nothing in the system changing.

About every 10 seconds MAAS sends the browser
* An updated node object. As previously mentioned I'm not doing anything with MAAS while this is being sent. My hunch is we're updating the database on every power check, we should only be updating when the power state changes.
* The list of operating systems and kernels which a user can use
* Rack controller image status
* The list of available power types

Sending this data over and over again is causing unnecessary load on the region, network traffic, and making the browser busier for no reason. Only sending data when needed will help performance in large data centers with multiple users.

Tags: ui performance

Related branches

Changed in maas:
milestone: 2.3.0beta3 → 2.3.0beta4
summary: - Websocket is constantly resending known data
+ [2.3, UI] Websocket is constantly resending known data
tags: added: performance
tags: added: ui
Changed in maas:
milestone: 2.3.0beta4 → 2.3.0rc1
Changed in maas:
milestone: 2.3.0rc1 → 2.3.0rc2
Changed in maas:
milestone: 2.3.0rc2 → 2.4.x
Changed in maas:
milestone: 2.4.x → 2.4.0beta1
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Lee Trager (ltrager)
Revision history for this message
Lee Trager (ltrager) wrote :

Closing this as all bugs have been fixed but one which is tracked in LP:1759081

Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.