Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Subscription Timeouts in Micro Service Architecture
December 13, 2017
11:06, EET
Avatar
feherz
Member
Members
Forum Posts: 3
Member Since:
June 30, 2015
sp_UserOfflineSmall Offline

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

December 13, 2017
15:20, EET
Avatar
Heikki Tahvanainen
Member
Members
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Helsinki

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, KTP25Zof

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1