Hi,

I have been exploring usage of actors in our project, so I started to
model some parts as actors. To setup it, there is a simple protocol
inspired by mlm_server ("VERBOSE", "CONNECT", "CONFIG", ...)

It seems that there are two approaches
1.) mlm_server 
(https://github.com/zeromq/malamute/blob/master/src/mlm_server_engine.inc#L1395)
2.) zauth (https://github.com/zeromq/czmq/blob/master/src/zauth.c#L158)

While zauth signals end of command processing by zsock_signal,
mlm_server don't do that.

Which approach is recommended? As we have had some timing issues and
using zclock_sleep does not looks good, using zsock_signal seems like
a better way to handle actor's configuration.

-- 
best regards
     Michal Vyskocil
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to