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
Moderator
Members

Moderators
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: 518

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

ibrahim: 75

rocket science: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 709

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1465

Posts: 6252

Newest Members:

christi10l, ahamad1, Flores Frederick, ellenmoss, harriettscherer, shanonhumphreys, KupimotoblokfuB, tamhollander5, paulinafcf, bridgette18l

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 982, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 319, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1