[zeromq-dev] zproto and Malamute/Majordomo

Pieter Hintjens ph at imatix.com
Mon Apr 27 19:14:58 CEST 2015


My personal view on this is that zproto is ideal for underlying
protocols, whereas application protocols (such as you'd carry over
Malamute) should use a cheaper text format.

This is the Cheap and Nasty discussion in the Guide. Zproto being the 'nasty'.


On Mon, Apr 27, 2015 at 7:13 PM, Pieter Hintjens <ph at imatix.com> wrote:
> It's been done, and removed from the basic codec generator. You can
> see how this was done in zproto_codec_c_v1.gsl.
>
> There has been talk of adding this encode/decode support back in to the C codec.
>
> On Mon, Apr 27, 2015 at 3:56 PM, Lucas Russo <lerwys at gmail.com> wrote:
>> Hello everybody,
>>
>> I'm taking a look at zproto project, in order to better structurize and
>> document an application protocol.
>>
>> However, is there a way to use zproto on top of, for instance, malamute or
>> majordomo API? Meaning defining my application protocol with zproto, but
>> sending/receiving messages using malamute or majordomo?
>>
>> As far as I understood zproto uses the regular czmq API to send/recv
>> messages, but malamute and majordomo both have different APIs to send/recv,
>> like mlm_sendx () and mdp_client_send ().
>>
>> Regards,
>>
>> Lucas
>>
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>



More information about the zeromq-dev mailing list