Skip to content

multiple dynamic subscription per connection #2692

Answered by ilyanikolaeff
vvn1677 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @vvn1677!
I have the same problem too. I think that creating subscription is very expensive operation. In my solution I'm creating one subscription (with FastDataChangeCallback) and dynamically add/remove monitored items (with subscription.ApplyChanges()). Also I have a many items (around 100k), so I do it in batches (chunk by 10k items).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mregen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants