-
Notifications
You must be signed in to change notification settings - Fork 921
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
Asynchronous version of Subscription.Create() #919
Comments
… in the client module.
… in the client module.
Please stay tuned and thanks for #919, we need some time to discuss async API extensions. Thanks |
If we want to be async we should add an API layer for APM/TPL for all public client API. |
More tbd. Needs Modelcompiler updates https://github.com/mregen/UA-ModelCompiler/tree/no_servicemodel and here is a prototype: https://github.com/mregen/UA-.NetStandardLibrary/tree/servicemod_plc |
waiting for #1255 |
Hi @mibos-kremer , sorry for the lengthy delay, finally I prepared a async subscription extension but I'm not planning on APM stubs because there are now the TPL async stubs in core. Do you think this will sufficient to address the problem you were seeing? |
fixes #919 and #921 - enable async client stubs in core - add async versions for subscription management - APM versions will not be included... based on PR #919 from @mibos-kremer Co-authored-by: Michiel <m.bos@kremer.nl>
Hello,
When registering subscriptions, I am noticing some hiccups when calling
Subscription.Create()
in the Client module (Usually around 200ms per call).After some profiling, it seems that the
m_session.CreateMonitoredItems()
call (inside CreateItems()) is mainly responsible for this delay. There is an asynchronous version of CreateMonitoredItems, but it does not seem to be possible to use this along with the existing Subscription class.Would it be possible to get an asynchronous version of
Subscription.Create()
? Or is there another way to speed up the creation of subscriptions?Sincerly,
Michiel
The text was updated successfully, but these errors were encountered: