Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Keep-Alive and inactive subscriptions - by: sjscheider

$
0
0
In our system, we have 3 subscriptions. The data on 1 of the subscriptions changes relatively often, at least every 5 minutes per device. (Typically it is every few seconds, but we've seen instances of ideal devices going for about 5 minutes without data changes.

But for two of the subscription, it is not uncommon for an event not to fire for hours or days. During our testing, we've simulated no events firing for 5+ days and the data change event fired without issue. This is great, but our team has some concerns, so I'm hoping you can answer the following questions for us.
  1. Is there a max value for subscription inactivity?
  2. Is it possible for 1 of the subscriptions to disconnect or "go bad" while the other subscriptions remain active and functioning as normal?
  3. Is there a way to determine when the last keep-alive was received from the server for a given subscription?
  4. Once a subscription has been created, is there any status available on the subscription that can be obtained? Like when the last time a message was received or when the last week-alive was received?
Sorry if you've answered this before. I search the posts and the docs and couldn't find the information.

Viewing all articles
Browse latest Browse all 1794

Trending Articles