Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[milo-dev] 回复: 回复: How many request does the monitor support when subscription

Hi,

In subscription demo, setting monitor parameter like this:
MonitoringParameters parameters191 = new MonitoringParameters(
clientHandle191,
1000.0, // sampling interval
null, // filter, null means use default
uint(10), // queue size
true // discard oldest
);
How to implement subscription in milo, polling or interrupte ? 
Does it query each node value every 1 second?

Thanks,
Best regards,
George Ray


------------------------------------------------------------------
发件人:Kevin Herron <kevinherron@xxxxxxxxx>
发送时间:2017年4月17日(星期一) 21:10
收件人:george.ray <george.ray@xxxxxxxxxx>
主 题:Re: [milo-dev] 回复: How many request does the monitor support when subscription

Well you'll always need 10,000 MonitoredItemCreateRequests (one per item), but what I was trying to say is you can probably send those all in one CreateMonitoredItems service call.

On Sun, Apr 16, 2017 at 8:45 PM, george.ray <george.ray@xxxxxxxxxx> wrote:
Hi,

Thanks for your reply!
You means I have to confirm the KEPServer's performance of supporting nodes.
Menthioned in your email: "In this case you should create the items with multiple requests";
In my demo, create each item with a request, I don't know how to create all items with one request. If I have to monitor 10000 items, I will create 10000 requests, any solutuion to optimize?

Thanks!
Best regards,
George Ray

------------------------------------------------------------------
发件人:Kevin Herron <kevinherron@xxxxxxxxx>
发送时间:2017年4月12日(星期三) 11:40
收件人:george.ray <george.ray@xxxxxxxxxx>; milo developer discussions <milo-dev@xxxxxxxxxxx>
主 题:Re: [milo-dev] 回复: How many request does the monitor support when subscription

The answer is server specific. You should be able to create thousands at a time. The server will respond with Bad_TooManyOperations if you're trying to request too many at once. In this case you should create the items with multiple requests. 

Some servers also expose a operation limit nodes in the address space that tell you how many. Try reading the value of this NodeId: Identifiers.ServerType_ServerCapabilities_OperationLimits_MaxMonitoredItemsPerCall

On Tue, Apr 11, 2017 at 7:49 PM, george.ray <george.ray@xxxxxxxxxx> wrote:
Hi,

Dese anyone known the question in last email?
Thanks!

Best regards,
George Ray

------------------------------------------------------------------
发件人:george.ray <george.ray@xxxxxxxxxx>
发送时间:2017年4月11日(星期二) 19:04
收件人:milo developer discussions <milo-dev@xxxxxxxxxxx>
主 题:[milo-dev] How many request does the monitor support when subscription

Hi, 

When call function createMonitoredItems to create monitor, the second parameter is request list,  how many request does the monitor support?
Tens of thousands of nodes need to be subscribed in our warehouse,I don't know the support status and performance, Could you provide some theory and test data?

Thanks!

Best regards,
George Ray


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






Back to the top