[performance] MAAS creates a websocket connection per tab

Bug #1663614 reported by Blake Rouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
High
Unassigned

Bug Description

Opening multiple tabs to MAAS causes a websocket connection per tab. This is very slow as the other tab now needs to load all the same data and for every update for that user each browser must receive that information.

Using a SharedWorker would allow just one websocket connection across multiple tabs and windows. CRSF and session handling would need to be handled correctly, but would reduce the load of the client and the server.

https://developer.mozilla.org/en/docs/Web/API/SharedWorker

Tags: performance
Changed in maas:
milestone: 2.2.0 → 2.3.0
summary: - MAAS creates a websocket connection per tab
+ [performance] MAAS creates a websocket connection per tab
Changed in maas:
milestone: 2.3.0 → 2.3.x
Revision history for this message
Adam Collard (adam-collard) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

Changed in maas:
status: Triaged → Invalid
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.