Replies: 3 comments 2 replies
-
I guess the fastest way to get nodes is loading a pickle file, you dumped before. python-opcua/opcua/server/internal_server.py Line 159 in 8582747 Remember: Never touch pickles from strangers, unless you realy trust the file. Less faster would be creating on you own in Python (which you may have done) and the least is via xml. Perhaps a bit execution boost may happen if you compile your Pythoninterpreter with --enable-optimisations...but if you realy need it even more faster, Python may not be your programming language of choice. |
Beta Was this translation helpful? Give feedback.
-
Please calculate your required resources. |
Beta Was this translation helpful? Give feedback.
-
Python won't be great for this. Even OPCUA isn't good for this because it's a very heavy protocol. You could see if PyPy is faster. Otherwise you probably need to rethink your implementation... do you really need one million nodes up front? Why not create as needed or some such thing. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am developing OPC server using this library. However my use case requires a lot of variable nodes to create. Is it possible to create Million nodes quickly. Currently even with threading server response is very slow and it takes forever to create that many nodes. it creates roughly 4000 nodes per minute which is quite slow for my use case. Any suggestion ?
Beta Was this translation helpful? Give feedback.
All reactions