-
Notifications
You must be signed in to change notification settings - Fork 94
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
zmq: network layer improvements #2978
Comments
Assigning myself as I've looked into the |
Is this the kind of thing you are talking about? https://realpython.com/async-io-python/#chaining-coroutines |
In relation to what? |
Your |
No. |
Care to explain? |
|
I might be off base here, but could the client be another suite, so that this could serve as a mechanism for inter-suite triggering #2798? |
Bad wording on my part, by "tasks" I was referring to "commands" e.g. |
In that case it's a good wording on your part 😉 If others agree, could we not loose this from sight? I really hate polling solutions and hope we can get something better that is also operationally acceptable on our site (there is permissions issue to consider of research suites triggering off operational ones). |
I'll add inter-suite subscription to the issue description. This is much the same functionality as the subscription the UI server will require so we will be developing this set-up anyway. |
I've never entirely understood the common aversion to polling. Sometimes it is the only viable solution (when the upstream system has no ability to interact with the dependent system). And if the polling mechanism has no significant impact on performance or network traffic, then what's the problem exactly? (Maybe it does have a significant negative impact in your cases @TomekTrzeciak ?) That said, when two-way interaction is possible I certainly agree that is better than one-way polling, and that is (now) a possibility for inter-suite triggering ... so that's fine. |
It shouldn't really be an issue for most cases. One issue is that it doesn't work well if you have lots of short tasks. This is actually a baby step towards sub-suites. |
Closing this issue as superseded by: |
Master issue serving as a follow-on from #2966 for the ZMQ interface.
ping_suite
toping
)Thread
implantation toasyncio
suite runtime server: convert from threading #3328REQ-REP-REP-REP...
pattern (REQ-SUB
) zmq: implement REQ-REP + PUB-SUB comms #3329$ cylc stop suite
contacting...
command queued...
waiting for running tasks to complete before shutting down...
DONE
The text was updated successfully, but these errors were encountered: