-
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
♻️ dynamic-sidecar rpc interfce namespace is now tied to the node_id #6614
♻️ dynamic-sidecar rpc interfce namespace is now tied to the node_id #6614
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6614 +/- ##
==========================================
+ Coverage 86.17% 87.75% +1.57%
==========================================
Files 1562 1395 -167
Lines 62760 58950 -3810
Branches 2085 1578 -507
==========================================
- Hits 54085 51729 -2356
+ Misses 8357 6969 -1388
+ Partials 318 252 -66
Continue to review full report in Codecov by Sentry.
|
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 👍
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 if understand correctly we will create 1 exchange per node running?
any thoughts about if this is a good design or not?
1 TOPIC exchange vs X exchanges?
So the only hit we get here is slightly bigger resource usage to handle the queues. Also after 10000 queues the performance degrades slightly. In theory I see the point of routing via differente exchanges. The advantage of this is that each sidecar has its own channel with messages dedicated to it. Which can make debugging simpler in the future, when something goes wrong. |
packages/service-library/src/servicelib/rabbitmq/rpc_interfaces/dynamic_sidecar/disk_usage.py
Show resolved
Hide resolved
services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/api/rpc/routes.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.
thx
Quality Gate passedIssues Measures |
What do these changes do?
Refactor the RPC interface of the dynamic-sidecar. Each sidecar registers its interface tied to its node_id. This way each individual sidecar can be targeted.
To send DiskUsage for some paths mounted by the
dynamic-sidecar
, from theefs-guardian
service:Related issue/s
How to test
Dev-ops checklist