[zeromq-dev] Malamute broker project

Kenneth Adam Miller kennethadammiller at gmail.com
Sun Mar 1 18:57:20 CET 2015


I'm having difficulty - I run the malamute command and it reads up the
malamute.cfg because it announces that it's binding to tcp://*:9999

I then have the following code with regards to establishing a client
connection to it:

  mlm_client_t *frontend_reader = mlm_client_new();
  assert(frontend_reader);
  int rc=mlm_client_connect (frontend_reader,  "tcp://127.0.0.1:9999" ,
 1000, "reader/secret");
  assert(rc==0);  //this is line 67

and I get this error:

LIBZMQ I: security failure, self=NULL peer=PLAIN
Assertion failed: (rc==0), function connectToFrontEnd, file
/Users/kennethadammiller/workspace/MalamuteTest/unit_tests/ExchangeTests.cpp,
line 67.

On Sun, Mar 1, 2015 at 11:52 AM, Doron Somech <somdoron at gmail.com> wrote:

> So I went over the code, really liked it. Very simple.
>
> I have a question regarding services, for each stream you are using a
> dedicate thread (actors) and one thread for managing mailboxes. However (if
> I understood correctly) for services you are doing the processing inside
> the server thread, why didn't you use an actor for each service or actor to
> manage all services? I think the matching of services can be expensive and
> block the main thread.
>
>
>
> On Fri, Feb 27, 2015 at 12:21 PM, Pieter Hintjens <ph at imatix.com> wrote:
>
>> Hi all,
>>
>> I've moved the Malamute broker project into the ZeroMQ organization on
>> GitHub, it's now at https://github.com/zeromq/malamute.
>>
>> There is a whitepaper explaining the goals:
>> https://github.com/zeromq/malamute/blob/master/MALAMUTE.md
>>
>> The broker is already production ready, with transient messaging only
>> (no persistence). If you'd like help using this in your projects, or
>> integrating it into your products, please contact me. License is
>> MPLv2.
>>
>> -
>> Pieter Hintjens
>> iMatix
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150301/a02947e6/attachment.htm>


More information about the zeromq-dev mailing list