Click here to Skip to main content
15,895,142 members

Comments by Mr.HA-AS (Top 22 by date)

Mr.HA-AS 1-Apr-14 6:50am View    
I checked it, but for my case I have to swap the logic between readers and writers only, correct? Or do I have to do something else?
Mr.HA-AS 27-Mar-14 18:25pm View    
Yeah, I know. But the rest like zeroMQ, are going on solutions. For example zeroMQ is being used in CERN.
Also message bus mechanism is being adapted by different companies like AllJoyn for IoT.
Mr.HA-AS 27-Mar-14 17:39pm View    
The message bus is a mechanism for IPC, you can check the following site from Microsoft about the mechanism it self:
http://msdn.microsoft.com/en-us/library/ff647328.aspx

For Linux implementation, you can check "D-Bus".
And there's a popular solution zeroMQ which contains bindings for different languages.

I agree with you regarding the multicasting, it's a good solution.
Mr.HA-AS 27-Mar-14 17:03pm View    
For my case the data rate is moderate. Regarding your suggestion, if I want to use sockets, I might have a lot of processes talking to the singleton process. The number of processes is dynamic. So If I want to use Message Bus, I don't have to care about adding or removing a process, whereas for the sockets, each time I add a new process I need to establish p2p connection, correct?
Mr.HA-AS 27-Mar-14 12:04pm View    
Thanks a lot for your answer. But what do you mean by outside of a single system framework?
In my program, I mainly use the Boost library ,and they have an IPC library, which depends on the Shared memory mechanism. so do you recommend me to use it as a solution to the below case?

Currently in my design I have singleton process at sometime this process will send a notification to a certain number of processes to send back their data to it. The singleton process will have to wait until all the data have been collected from different processes. So it's many to one commmunication.


Later at some time, the singleton process will receive some data over a TCP connection, then it has to divide these data and distribute each portion to its corresponding process. So I have one two many communication.

The most important and critical thing, is to exchange the data in a fast way between the processes on the same platform, and without losing any in-flight data " The amount of data is not so big", and I want to have the minimum possible overhead.

I think, I should use some kind of message bus. But I know the message bus will add some overhead in terms of processing and delay, correct or not?