Memory and RTT Comparions with .NET and UA Expert
Posted: 01 Jul 2013, 15:23
Hallo
so I am currently comparing the JAVA SDK and the .NET SDK and I have a few questions.
The two SDKs differ in two points.
1. Memory
- .NET SDK and 50,000 nodes, and the memory usage does not go above 300 MB running any performance tests with UA Expert. It looks like the garbage collector does a good job.
- :JAVA SDK and 50,000 nodes, either with UaNodes or with the MyBigNodeManager example, the memory usage goes as high as it needs and stays there. For example around 1,5 GB after running some read and write performance tests with UA Expert
2. RTT (Roundtrip Time)
- .NET is slower by 7 times, needing around 700 ms to read or write 50,000 nodes
- .JAVA takes about 100ms -150ms to read or write the same amount of 50,000 nodes
So it seems to me, since I have to work with a large number of nodes that I would like to stick to the JAVA SDK, if I can get the memory usage managed somehow.
Does anybode can help me in any way ?
Another problem I have is, running the Java Server from a .jar file generated by NetBeans.
Running the .jar file server, the RTT is around 3x times higher like 400ms - 500ms compared to running the server in NetBeans.
Does anybode know why ? I could not find any information about this online yet.
Thanks
kind regards
so I am currently comparing the JAVA SDK and the .NET SDK and I have a few questions.
The two SDKs differ in two points.
1. Memory
- .NET SDK and 50,000 nodes, and the memory usage does not go above 300 MB running any performance tests with UA Expert. It looks like the garbage collector does a good job.
- :JAVA SDK and 50,000 nodes, either with UaNodes or with the MyBigNodeManager example, the memory usage goes as high as it needs and stays there. For example around 1,5 GB after running some read and write performance tests with UA Expert
2. RTT (Roundtrip Time)
- .NET is slower by 7 times, needing around 700 ms to read or write 50,000 nodes
- .JAVA takes about 100ms -150ms to read or write the same amount of 50,000 nodes
So it seems to me, since I have to work with a large number of nodes that I would like to stick to the JAVA SDK, if I can get the memory usage managed somehow.
Does anybode can help me in any way ?
Another problem I have is, running the Java Server from a .jar file generated by NetBeans.
Running the .jar file server, the RTT is around 3x times higher like 400ms - 500ms compared to running the server in NetBeans.
Does anybode know why ? I could not find any information about this online yet.
Thanks
kind regards