[zeromq-dev] Client Server Model in Python
sustrik at 250bpm.com
Tue Aug 24 15:17:06 CEST 2010
> * I think the if the message processing logic takes lot of time, how
> can I thread the process of processing the message (in Python)
AFAIK Python does not provide real threads, just green threads. So the
only option would be to run several python processes, connected to a
single central queue device (zmq_queue).
> * I need to send an options along with the message, currently I am
> sending the options as the first 2 characters of the message.
> (message[:]). Is there a better way provided by ZMQ.
You can use multi-part message. First part would be flags, second one
More information about the zeromq-dev