-
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
♻️ reroute user services restart
via dynamic-scheduler
#6943
♻️ reroute user services restart
via dynamic-scheduler
#6943
Conversation
inputs retrieval
via dynamic-scheduler
…t-service-restart-containers
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6943 +/- ##
==========================================
- Coverage 87.06% 86.93% -0.14%
==========================================
Files 1611 1256 -355
Lines 63621 53925 -9696
Branches 2026 1001 -1025
==========================================
- Hits 55392 46880 -8512
+ Misses 7895 6851 -1044
+ Partials 334 194 -140
Continue to review full report in Codecov by Sentry.
|
inputs retrieval
via dynamic-scheduler
user services restart
via dynamic-scheduler
services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml
Outdated
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.
So this PR basically replaces the first part of this long trace to "restart a user-service" bu adding a buffer (i.e. rabbit) and on extra service (dynamic_scheduler
)
Before: (3 services)
web-server
->(REST)->director-v2
-> (REST) ->dynamic-sidecar
-> (docker REST)
Now: (5 services)
web-server
-(RPC)->rabbitMQ
-> (RPC) ->dynamic_scheduler
->(REST)->director-v2
-> (REST) ->dynamic-sidecar
-> (docker REST)
Probably i am missing something but besides the buffer (which i think is good) I do not totally understand the role of the dynamic-scheduler in there.
services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml
Outdated
Show resolved
Hide resolved
There is one main reason for doing all this. In the context of moving away the To achieve it, there needs to be a point of switching. The Another advantage is that in the end all scheduling logic will be placed inside the So it's required now and also in the future. Which is why I'm doing all this refactoring. |
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.
thx for the explanation.
…t-service-restart-containers
Quality Gate passedIssues Measures |
What do these changes do?
Rerouted
user services restart
command viadynamic-scheduler
.Related issue/s
How to test
Dev-ops checklist