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
Number of subscriptions
February 15, 2016
10:14, EET
Avatar
pramanj
Member
Members
Forum Posts: 86
Member Since:
October 21, 2014
sp_UserOfflineSmall Offline

Hi,
Just curious to know what is the overhead involved in creating multiple subscriptions. If I have too many (say 1000) subscriptions with say 100 to 200 nodes in each perhaps with some overlpping nodes in them (say 10% entries are repeated in each), then does it make sense to create 1000 subscriptions with one or two remaining active and others remaining paused or to have a single sunscription with 1000×200 (20,000) entries in a single subscription? Its a trade off between simple implementation of a single sunsbription vs the overhaead of creating and managing 1000’s of subscriptions on client as well as server ovehead! How are subscriptions intended and designed to be used?

BR
PRAMANJ

February 15, 2016
11:02, EET
Avatar
Heikki Tahvanainen
Member
Members
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

The normal scenario is that multiple monitored items are created per subscription. Using a large amount of monitored items per subscription performs better than using a lot of different subscriptions.

You can easily handle for example 1000 value changes per second in an OPC UA server. However, making 1000 different subscriptions to monitor these values is not efficient. You should aim to make a lot of monitored items and as little separate subscriptions as possible.

February 15, 2016
13:15, EET
Avatar
pramanj
Member
Members
Forum Posts: 86
Member Since:
October 21, 2014
sp_UserOfflineSmall Offline

Thanks a lot. Its an important design consideration. Trade off between number of subscriptions and number of items per subscriptions. I will try to keep subscriptions to minimum. It also depends upon the application I guess. If the client is not displaying all the real time data all the time, then why to receive the values from server and increase the netwoek bandwidth! But thanks for the guiding principle of keeping sunscriptions to minimum.

regards
PRAMANJ

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
19 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: 726

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1525

Posts: 6456

Newest Members:

ernestoportus31, martin123, rickie5305, shaylamaggard4, rickyjuarez140, jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall

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

Administrators: admin: 1