Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] Connection and Subscription

Joe,

You shouldn't need more than 1 connection, but you may need more than 1 subscription. These limits will depend more on the server than anything else.

Once you've received the initial values the subscriptions are relatively lightweight for the client because you'll only be notified when a value changes. 

It's unlikely that you would be able to issue an explicit Read call for a million items without exceeding some kind of encoding or operation limit, however. You would need to batch any Read calls into multiple parts.

On Fri, May 24, 2019 at 1:47 AM Joe San <codeintheopen@xxxxxxxxx> wrote:
My question was what if this List contains a million or more items? I'm thinking about scale. So is this single OPC server can contain many different edge devices (sensors, iot devices) with each emitting say around 10 data points, so if I have my OPC server with 100000 of those sensors attached, this mounts to 1 million data points. Is this ideal to have 1 million datapoints subscribed with a single connection?


On Fri, May 24, 2019 at 9:14 AM Gattinger. Michael <m.gattinger@xxxxxxxxxxxx> wrote:

2.

As i understood you can provide a List of Items to Monitor…

See Line 166 in ReadExample.java on this E-Mail.

 

items = subscription.createMonitoredItems(TimestampsToReturn.Both, Arrays.asList(request), onItemCreated).get();

 

Von: milo-dev-bounces@xxxxxxxxxxx <milo-dev-bounces@xxxxxxxxxxx> Im Auftrag von Joe San
Gesendet: Freitag, 24. Mai 2019 07:42
An: milo developer discussions <milo-dev@xxxxxxxxxxx>
Betreff: [milo-dev] Connection and Subscription

 

I see from the examples on how to connect to a OPC UA server, but now I would like to know some more details on the connection and subscription!

 

1. How many connection instances do I need? Is this connection comparable to a JDBC connection? If so, should I create a connection pool?

 

2. How many items or data points can I subscribe with a single subscription?






     


SEEBURGER AG   Vorstand/SEEBURGER Executive Board:
Sitz der Gesellschaft/Registered Office:   Axel Haas, Michael Kleeberg, Axel Otto, Dr. Martin Kuntz, Matthias Feßenbecker
Edisonstr. 1  
D-75015 Bretten Vorsitzende des Aufsichtsrats/Chairperson of the SEEBURGER Supervisory Board:
Tel.: 07252 / 96 - 0 Prof. Dr. Simone Zeuchner
Fax: 07252 / 96 - 2222
Internet: http://www.seeburger.de Registergericht/Commercial Register:
e-mail: info@xxxxxxxxxxxx HRB 240708 Mannheim


Dieses E-Mail ist nur für den Empfänger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungsäußerung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung der SEEBURGER AG dar. Sind Sie nicht der Empfänger, so haben Sie diese E-Mail irrtümlich erhalten und jegliche Verwendung, Veröffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder die SEEBURGER AG noch der Absender (Gattinger. Michael) übernehmen die Haftung für Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhänge auf Viren zu prüfen.

This email is intended only for the recipient(s) to whom it is addressed. This email may contain confidential material that may be protected by professional secrecy. Any fact or opinion contained, or _expression_ of the material herein, does not necessarily reflect that of SEEBURGER AG. If you are not the addressee or if you have received this email in error, any use, publication or distribution including forwarding, copying or printing is strictly prohibited. Neither SEEBURGER AG, nor the sender (Gattinger. Michael) accept liability for viruses; it is your responsibility to check this email and its attachments for viruses.

_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev

Back to the top