11:06, EET
June 30, 2015
Hi all,
I am currently struggeling with subscription timeouts in a Micro Service architecture.
On the one side, we have one PLC which is running an own OPC UA Server.
On the other side, we have 25 micro service which have around 3 subscripions each.
Every subscription monitors one variable.
Is this an unusual case?
Do I have to expect some issues in such a scenario?
Or should everything run smoothly with that setup?
Cheers,
Felix
15:20, EET
April 17, 2013
Hello Felix,
Thank you for the question. As a start, please see this blog post about the most important parameters related to sessions and subscriptions: https://prosysopc.com/blog/opc-ua-sessions-subscriptions-and-timeouts/
Usually multiple monitored items are grouped inside a single subscription. This way you don’t need to create 3 subscriptions per client, but you could create one subscription with three monitored items. A subscription is always related to one session, so you will necessarily need 25 subscriptions if the different micro service clients are different applications in practice.
So, after this change you will be left with 25 subscriptions and 75 monitored items. I think this is a relatively normal amount of subscriptions and monitored items, but of course you could check the OPC UA server vendor documentation to find out if there’s some documented limits. Also, it’s important to configure suitable settings for data sampling, meaning parameters PublishingInterval and SamplingInterval. Typically suitable value for PublishingInterval is 1 second.
Most Users Ever Online: 1919
Currently Online:
17 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 730
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25ZofModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1