Skip to content
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

Open62541 Client implementation to monitor 1000 variables on a server #6510

Closed
3 of 7 tasks
r1gbymordeca1 opened this issue May 27, 2024 · 3 comments
Closed
3 of 7 tasks

Comments

@r1gbymordeca1
Copy link

Client implementation to monitor 1000 variables on a server #6509

I am working on a client implementation where I need to subscribe to 1000 variables from a server. Right now, I am creating one subscription and adding the monitored variables using UA_Client_MonitoredItems_createDataChange() to the same subscription. Also, I am handling all the datachange callbacks through the same callback mechanism.

Is this approach good or should I create multiple subscriptions and add monitor items to them accordingly?

Checklist

Please provide the following information:

  • open62541 Version (release number or git tag): HEAD
  • Other OPC UA SDKs used (client or server): No
  • Operating system: Linux
  • Logs (with UA_LOGLEVEL set as low as necessary) attached: No
  • Wireshark network dump attached: No
  • Self-contained code example attached: No
  • Critical issue: YES
@jpfr
Copy link
Member

jpfr commented May 27, 2024

Using just one subscription is preferred.
If you want to receive all notifications together..

@jpfr
Copy link
Member

jpfr commented May 27, 2024

I guess this is not a critical issue then.

@jpfr jpfr closed this as completed May 27, 2024
@r1gbymordeca1
Copy link
Author

Thank you for your reply. This was an important design choice for us, hence I had marked it critical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants