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

tui: improve performance #3527

Closed
oliver-sanders opened this issue Mar 19, 2020 · 5 comments · Fixed by #5731
Closed

tui: improve performance #3527

oliver-sanders opened this issue Mar 19, 2020 · 5 comments · Fixed by #5731
Assignees
Milestone

Comments

@oliver-sanders
Copy link
Member

  • Use a subscription to GraphQL deltas to update the tree.
  • Perform the updates asynchronously so that the app doesn't freeze during the update.

Pull requests welcome!

@oliver-sanders oliver-sanders added this to the cylc-8.0.0 milestone Mar 19, 2020
@oliver-sanders
Copy link
Member Author

What the change to GraphQL deltas means for communications and how it fits into the plan:

rect4117

@hjoliver
Copy link
Member

hjoliver commented Aug 4, 2021

Blocked by #3731

@dpmatthews dpmatthews modified the milestones: cylc-8.0.0, cylc-8.x Aug 4, 2021
@oliver-sanders
Copy link
Member Author

Until #3731 we might be able to improve performance by bumping the data update part of Tui into a separate process, decoupling the data provision and UI update.

This approach would still be valid after #3731 so not a bad idea providing it can be done simply. We may be able to compute deltas in the update process paving the way for #3731 too.

@hjoliver
Copy link
Member

Good idea.

@oliver-sanders oliver-sanders modified the milestones: cylc-8.x, cylc-8.3.0 Sep 14, 2023
@oliver-sanders
Copy link
Member Author

The multi-process approach seems to work well enough to close this issue.

@oliver-sanders oliver-sanders mentioned this issue Sep 14, 2023
12 tasks
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Sep 14, 2023
* Move the updater into another process.
  This removes the limitation that caused Tui to crash with active workflows.
  Closes cylc#3527
* Add multi-workflow capability.
  Closes cylc#3464
* Add visual regression testing framework.
  Closes cylc#3530
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Sep 15, 2023
* Move the updater into another process.
  This removes the limitation that caused Tui to crash with active workflows.
  Closes cylc#3527
* Add multi-workflow capability.
  Closes cylc#3464
* Add visual regression testing framework.
  Closes cylc#3530
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Sep 26, 2023
* Move the updater into another process.
  This removes the limitation that caused Tui to crash with active workflows.
  Closes cylc#3527
* Add multi-workflow capability.
  Closes cylc#3464
* Add visual regression testing framework.
  Closes cylc#3530
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Sep 26, 2023
* Move the updater into another process.
  This removes the limitation that caused Tui to crash with active workflows.
  Closes cylc#3527
* Add multi-workflow capability.
  Closes cylc#3464
* Add visual regression testing framework.
  Closes cylc#3530
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Oct 2, 2023
* Move the updater into another process.
  This removes the limitation that caused Tui to crash with active workflows.
  Closes cylc#3527
* Add multi-workflow capability.
  Closes cylc#3464
* Add visual regression testing framework.
  Closes cylc#3530
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Oct 3, 2023
* Move the updater into another process.
  This removes the limitation that caused Tui to crash with active workflows.
  Closes cylc#3527
* Add multi-workflow capability.
  Closes cylc#3464
* Add visual regression testing framework.
  Closes cylc#3530
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Oct 4, 2023
* Move the updater into another process.
  This removes the limitation that caused Tui to crash with active workflows.
  Closes cylc#3527
* Add multi-workflow capability.
  Closes cylc#3464
* Add visual regression testing framework.
  Closes cylc#3530
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Oct 6, 2023
* Move the updater into another process.
  This removes the limitation that caused Tui to crash with active workflows.
  Closes cylc#3527
* Add multi-workflow capability.
  Closes cylc#3464
* Add visual regression testing framework.
  Closes cylc#3530
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Oct 12, 2023
* Move the updater into another process.
  This removes the limitation that caused Tui to crash with active workflows.
  Closes cylc#3527
* Add multi-workflow capability.
  Closes cylc#3464
* Add visual regression testing framework.
  Closes cylc#3530
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Oct 13, 2023
* Move the updater into another process.
  This removes the limitation that caused Tui to crash with active workflows.
  Closes cylc#3527
* Add multi-workflow capability.
  Closes cylc#3464
* Add visual regression testing framework.
  Closes cylc#3530
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Oct 13, 2023
* Move the updater into another process.
  This removes the limitation that caused Tui to crash with active workflows.
  Closes cylc#3527
* Add multi-workflow capability.
  Closes cylc#3464
* Add visual regression testing framework.
  Closes cylc#3530
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants