Worker status for competition organizers (from rabbit)#2395
Open
IdirLISN wants to merge 25 commits into
Open
Conversation
…isibile only by admin or comp organizer or collaborators
Member
|
Very nice. We need to find a way to stress test this feature on a preprod environment. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/!\ New PR with modified feature. /!\
The feature is now aware of workers health directly from django to rabbit instead of going through the site worker which slows the app massively. Using rabbit enable the feature to be much more responsive and display the worker state faster. the implementation is easier also.
check the feature at: https://dev.codabench.org/
------------------------------- OLD PR (edited) --------------------------------------
@ mention of reviewers
@ObadaS
@Didayolo
@ihsaan-ullah
A brief description of the purpose of the changes contained in this PR.
This feature enables admin users, competition organisers and his/her collaborators to monitor compute worker activity.
Public compute workers displayed by default and if the competition own a private queue, it displays the private compute workers linked to the queue of the competition.
UI inside of the header of the competition page.
Feature contains:
Feature available only for competition organizers and collaborators.
When disabled or hided behind the button, the websocket connection is disabled for performance.
Issues this PR resolves
Enables organizers to monitor compute workers activity to push them to use their own workers in case of high activity on codabench public compute workers.
A checklist for hand testing
(docker compose logs -f django should display websocket open and close with the panel)
Checklist