Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quickly modifying a plan multiple times in quick succession bogs the UI as it re-renders #1474

Open
duranb opened this issue Sep 24, 2024 · 1 comment
Labels
investigate Issue needs further investigation

Comments

@duranb
Copy link
Collaborator

duranb commented Sep 24, 2024

It was found that if someone is programmatically modifying a plan that someone else is viewing the UI of, those quick db mutations trigger the UI to re-render after every update. This causes a decrease in responsiveness in the UI.

We should look in to debouncing the re-render of the timeline or something to that effect.

@duranb duranb added the investigate Issue needs further investigation label Sep 24, 2024
@duranb
Copy link
Collaborator Author

duranb commented Sep 24, 2024

Finding from @sqlAlchemyNoob2004:

Plans page susceptible to client side latency spikes if there is a lot of websocket traffic.
While the server appears to handle high load, an individual client struggles to keep up if there is a high volume of data being received over the websocket connections. Data (especially plan updates) causes the center chart to re-render repeatedly and frame rate plummets. Could consider batching updates that would cause the chart to re-render or look into tuning the rendering itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Issue needs further investigation
Projects
Status: Todo
Development

No branches or pull requests

1 participant