Multithreaded requests to OPC UA Server
Posted: 26 Aug 2013, 12:27
I have a project with several subdirectories. Each subdirectory contains a machine.
- myProject
+ machine A
+ machine B
+ machine C
Every machine itself has several subdirectories. e.g.
- machine A
-- value1
-- value2
+value3..50
Right now I query everything sequentially.
query machineA(); takes 3 seconds
query machineB(); takes 3 seconds
query machineC(); takes 3 seconds
---------------------------------------------
takes 9 seconds to read all values for all 3 machines. I am not sure why it takes 3 seconds for each subdirectory.
Would the OPC UA Server be able to work with multithreaded requests and provide the data for 3 machines in 3 and not 9 seconds?
Is there any multithreading server-side or is everything done sequentially?
- myProject
+ machine A
+ machine B
+ machine C
Every machine itself has several subdirectories. e.g.
- machine A
-- value1
-- value2
+value3..50
Right now I query everything sequentially.
query machineA(); takes 3 seconds
query machineB(); takes 3 seconds
query machineC(); takes 3 seconds
---------------------------------------------
takes 9 seconds to read all values for all 3 machines. I am not sure why it takes 3 seconds for each subdirectory.
Would the OPC UA Server be able to work with multithreaded requests and provide the data for 3 machines in 3 and not 9 seconds?
Is there any multithreading server-side or is everything done sequentially?