Best practice for node creation #1262
-
|
Hi, I have a question regarding the best practice for node creation in iceoryx2. How many nodes should ideally be created per process, and what is the recommended maximum number of services or communication patterns, such as publishers and subscribers, per node? Currently, I create one node per communication (e.g., pub1/sub1 = 1 node, pub2/sub2 = 1 node), but this approach takes a lot of time during node creation. Thank you in advance for your guidance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
@codeXpert0 I would recommend either one node per process or one node per thread for a better debugging experience. You can use the iceoryx2 command line tools to list then all active nodes and their services - when you combine it with a name for the node you know exactly where what is running. See this here: https://github.com/eclipse-iceoryx/iceoryx2/tree/main/iceoryx2-cli |
Beta Was this translation helpful? Give feedback.
@codeXpert0 I would recommend either one node per process or one node per thread for a better debugging experience. You can use the iceoryx2 command line tools to list then all active nodes and their services - when you combine it with a name for the node you know exactly where what is running. See this here: https://github.com/eclipse-iceoryx/iceoryx2/tree/main/iceoryx2-cli