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

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

Currently Online:
15 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 91

pramanj: 86

ibrahim: 68

kapsl: 57

gjevremovic: 49

TimK: 41

Fransua33: 39

fred: 36

Rainer Versteeg: 32

peterrob45: 25

Member Stats:

Guest Posters: 0

Members: 897

Moderators: 12

Admins: 1

Forum Stats:

Groups: 3

Forums: 14

Topics: 898

Posts: 3787

Newest Members:

thojermaine, Lukas, lbtsheldon, dpto.informatica, nolazky8119, peter.jakubik, amaralesbeltateresa@yahoo.com, amaralesbeltateresa@gmail.com, esbeltateresaamaral@yahoo.com.br, doanphan111

Moderators: Jouni Aro: 833, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 422, Heikki Tahvanainen: 402, Jukka Asikainen: 1, Teppo Uimonen: 16, Markus Johansson: 1

Administrators: admin: 0