FairMQ/examples/MQ/4-copypush
Alexey Rybalchenko 1c710e22f5 Add FlatBuffers & MessagePack examples
- Add FlatBuffers serialization example to Tutorial 3
 - Add MessagePack serialization example to Tutorial 3
 - Performance improvements in Boost serialization example
 - Use `GetEntriesFast()` for FairTestDetectorRecoTask
 - Use `Clear()` instead of `Delete()` in MQ parts of Tutorial 3
 - Fix CMake variables from preventing compilation without nanomsg.
 - create macro/data directories in install directory
 - Get rid of data duplication in fill_parameters.C
 - Various cleanups and fixes
2018-05-02 13:51:55 +02:00
..
CMakeLists.txt Add FlatBuffers & MessagePack examples 2018-05-02 13:51:55 +02:00
ex4-copypush.json Rename /example to /examples and move MQ examples in it 2018-05-02 13:51:55 +02:00
FairMQExample4Sampler.cxx Rename /example to /examples and move MQ examples in it 2018-05-02 13:51:55 +02:00
FairMQExample4Sampler.h Rename /example to /examples and move MQ examples in it 2018-05-02 13:51:55 +02:00
FairMQExample4Sink.cxx Rename /example to /examples and move MQ examples in it 2018-05-02 13:51:55 +02:00
FairMQExample4Sink.h Rename /example to /examples and move MQ examples in it 2018-05-02 13:51:55 +02:00
README.md Rename /example to /examples and move MQ examples in it 2018-05-02 13:51:55 +02:00
runExample4Sampler.cxx Remove compile time transport interface switch 2018-05-02 13:51:55 +02:00
runExample4Sink.cxx Remove compile time transport interface switch 2018-05-02 13:51:55 +02:00

Example 4: Copy & Push

A topology consisting of one Sampler and two Sinks. The Sampler uses the Copy method to send the same data to both sinks with the PUSH-PULL pattern. In contrary to the PUB-PATTERN pattern, this ensures that all receivers are connected and no data is lost, but requires additional sockets.