zeromq / majordomo

Majordomo Project
Mozilla Public License 2.0
114 stars 52 forks source link

Document the new wire protocol #34

Open JensRantil opened 11 years ago

JensRantil commented 11 years ago

According to #33 544f1a700ffaf7a6592ac4676f9b14c065f9adaa introduced a new wire protocol. Eventually this new protocol will need to be documented.

I propose this issue could be a good place to collect references to commits that changed the API. This is what I've found:

Obviously, you may close this issue if you think it's a "non-issue".

hintjens commented 11 years ago

The 0.2 protocol definitely needs to be updated to match the code and/or vice versa. Martin Hurton made the changes to the Majordomo code but I've not had opportunity to update the specs. Here are his notes on what changed:

Goals: Not sure we can still use the adjective reliable. MDP does not support "request-reply processing" anymore. MDP/0.3 replaces PARTIAL and FINAL with REPORT message. MDP/0.3 no longer allows "the broker to recover from dead or disconnected workers by resending requests to other workers". Once the broker has forwarded the command, there is no way to know whether it has been processed.

Overall topology:

MDP/Client

MDP/Worker

Reliability