[zeromq-dev] Malamute broker project
Pieter Hintjens
ph at imatix.com
Sun Mar 1 19:09:10 CET 2015
On Sun, Mar 1, 2015 at 5:52 PM, Doron Somech <somdoron at gmail.com> wrote:
> So I went over the code, really liked it. Very simple.
Thanks. I like the plugin model, especially neat using CZMQ actors.
> 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.
I did it in actors and then moved it back into the main server as it
was complexity for nothing (at that stage). I'd rather design against
real use than against theory.
-Pieter
More information about the zeromq-dev
mailing list