-
Notifications
You must be signed in to change notification settings - Fork 27
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
🎨Computational backend: DV-2 computational scheduler becomes replicable (🗃️🚨) #6736
🎨Computational backend: DV-2 computational scheduler becomes replicable (🗃️🚨) #6736
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6736 +/- ##
==========================================
+ Coverage 86.93% 88.51% +1.58%
==========================================
Files 1553 1550 -3
Lines 61866 61702 -164
Branches 2110 2108 -2
==========================================
+ Hits 53781 54618 +837
+ Misses 7754 6753 -1001
Partials 331 331
Continue to review full report in Codecov by Sentry.
|
89783ed
to
b53c9b8
Compare
4679bd1
to
bf472ba
Compare
bf472ba
to
aab6aab
Compare
d27ff76
to
496aa9f
Compare
0fe3496
to
a0e3990
Compare
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very interesting! Looking forward to seeing multiple director-v2 replicas. Unfortunately I am not deep enough in the details to give a more thorough review, but I did discover one little thing. 🙂
What do these changes do?
This PR heavily refactors the director-v2 internal computational scheduler by using tools to allow multiple director-v2 replicas to be able to share the load of scheduling computational pipelines.
As reminder the computational scheduler in the director-v2 is responsible for:
Until this PR, replicating the director-v2 would also duplicate network calls and end in wasted resources.
This PR aims to make the replication of the director-v2 more efficient by:
simcore.services.director-v2.scheduling
,COMPUTATIONAL_BACKEND_SCHEDULING_CONCURRENCY
is currently hard-coded to 50. Some testing will be necessary to see whether that is too low or too high. That is why this is not at the moment an ENV variable. It will be converted if necessary.comp_runs
table is upgraded to contain new nullable scheduled and processed columns, this is used to keep track of when a pipeline was scheduled by the manager, and when the worker has processed it.comp_runs
table is upgraded to contain only timezone-enabled timestampscomp_tasks
table is upgraded to contain only timezone-enabled timestampsSchematic
Legend:
Related issue/s
How to test
Dev-ops checklist