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
Support on MaxMonitoredItemsPerSubscription parameter
September 22, 2022
15:38, EEST
Avatar
mcretois
New Member
Members
Forum Posts: 2
Member Since:
November 26, 2020
sp_UserOfflineSmall Offline

Hi,

Could someone give me answers on these few questions about the ‘MaxMonitoredItemsPerSubscription’ parameter :

– When calling setMaxMonitoredItemsPerSubscription(int), is there a limit other the int max value limit ?
– What should be a ‘reasonable’ value for MaxMonitoredItemsPerSubscription when setting this parameter over than default value (1000) ?
– What is the effect of increasing the value of this parameter on performances ?

Thanks

September 23, 2022
9:05, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 321
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

The maximum value for the MaxMonitoredItemsPerSubscription parameter is the maximum value of int (2147483647) so there are no other limits besides that.

What is a reasonable value for the parameter depends on the bigger picture of your solution. This includes factors such as hardware the Server is running on, how many Clients it is expected to be serving at the same time, how often the Values of the monitored Variables would be changing and how often these changes would be reported to Clients via DataChangeNotifications. If the Server is running on hardware with lots of computing power and it is serving only a few Clients at the same time, you could consider using a higher value for the MaxMonitoredItemsPerSubscription parameter. In the opposite situation, you could consider using a lower value for the parameter. You could also look at configuring MaxMonitoredItemsPerSubscription parameter from the point of view of Client applications connecting to your Server and set it to suit their needs.

Also, the default value of MaxMonitoredItemsPerSubscription was previously 1000, but it has been increased to 10000 since version 4.6.0 of the Prosys OPC UA SDK for Java. If you’re using an older version of the SDK, I would recommend updating to the latest version of the SDK, which at the moment is version 4.9.0.

We do not have any exact metrics on how increasing this parameter would affect the performance of the Server. Increasing it would allow Subscriptions to contain more MonitoredItems, which would effectively mean that methods that process all MonitoredItems of a Subscription would take longer to execute. How much longer processing more MonitoredItems would actually take depends on your hardware.

September 23, 2022
11:25, EEST
Avatar
mcretois
New Member
Members
Forum Posts: 2
Member Since:
November 26, 2020
sp_UserOfflineSmall Offline

Thank you very much for your detailed answers.

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

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 681

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com

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

Administrators: admin: 1