richardmillen / zguide-examples

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

Service Discovery in C++ #17

Open richardmillen opened 7 years ago

richardmillen commented 7 years ago

Implement the Service Discovery example.

So, we have a nice service-oriented broker, but we have no way of knowing whether a particular service is available or not. We know whether a request failed, but we don't know why. It is useful to be able to ask the broker, "is the echo service running?" The most obvious way would be to modify our MDP/Client protocol to add commands to ask this. But MDP/Client has the great charm of being simple. Adding service discovery to it would make it as complex as the MDP/Worker protocol.

richardmillen commented 7 years ago

Leaving this for now as it depends on Majordomo. May come back to this later.