-
Notifications
You must be signed in to change notification settings - Fork 30
🎨Computation backend: refactor director-v2 internal computational scheduler to be less resource heavy #6696
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
🎨Computation backend: refactor director-v2 internal computational scheduler to be less resource heavy #6696
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6696 +/- ##
===========================================
- Coverage 87.73% 64.44% -23.30%
===========================================
Files 1571 657 -914
Lines 63271 33103 -30168
Branches 2118 265 -1853
===========================================
- Hits 55512 21333 -34179
- Misses 7433 11709 +4276
+ Partials 326 61 -265
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
236a7d8
to
b6428ee
Compare
ef5a649
to
050fb67
Compare
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.
cool! thx
services/director-v2/tests/unit/with_dbs/test_modules_comp_scheduler_dask_scheduler.py
Show resolved
Hide resolved
...ces/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/_scheduler_factory.py
Show resolved
Hide resolved
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.
Thanks a lot! Just a few comments/questions from my side.
services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/__init__.py
Show resolved
Hide resolved
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.
cool!
services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/_base_scheduler.py
Show resolved
Hide resolved
04a5915
to
e0b03da
Compare
use it in computational scheduler
dc69b24
to
d9df523
Compare
|
What do these changes do?
Until now
What this PR brings
exclusive decorator changes (redis_utils.py, test_redis_utils.py):
lock_key_builder
callable (a la aiocache),redis_client_builder
callable (a la aiocache),dv-2 scheduling is now running 1 asyncio.Task per computational pipeline:
What this PR does not yet bring (will come in part 2 and is not part of this PR!!!)
Related issue/s
How to test
Dev-ops checklist