richardmillen / zguide-examples

Implementations of the 0MQ examples in the guide.
http://zguide.zeromq.org/page:all
4 stars 0 forks source link

Heartbeating for Paranoid Pirate in C++ #14

Open richardmillen opened 7 years ago

richardmillen commented 7 years ago

Implement the Heartbeating for Paranoid Pirate example.

For Paranoid Pirate, we chose the second approach. It might not have been the simplest option: if designing this today, I'd probably try a ping-pong approach instead. However the principles are similar. The heartbeat messages flow asynchronously in both directions, and either peer can decide the other is "dead" and stop talking to it.

richardmillen commented 7 years ago

Leaving this for now. May come back to this at a later date.