Skip to content

Does eCAL support inner-process communication already? #965

Answered by rex-schilasky
chengguizi asked this question in Q&A
Discussion options

You must be logged in to vote

The logic of inproc transport layer is that a publisher send call will executed all subscriber data callback in the same (publisher send call) thread. This is for sure quite fast (no copy needed here) but it couples the execution of the publisher send thread to the processing of the subscriber callback function. So very often the overall performance will decrease because you force a single threaded execution here.

If you switch on Loopback (as described by Florian) an inner process publisher is connected to inner process subscribers via memory file and they can act decoupled in a parallel manner.

A second aspect is .. if you have let's say one subscriber in the same node and at least one …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@chengguizi
Comment options

Comment options

You must be logged in to vote
1 reply
@chengguizi
Comment options

Answer selected by chengguizi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants