[zeromq-dev] Question for Python example in Perf folder

kfadnis kfadnis at gmail.com
Wed Apr 22 20:41:01 CEST 2009

Great, that worked perfectly. Thank you for your help.

On Wed, Apr 22, 2009 at 12:01 PM, Martin Sustrik <sustrik at fastmq.com> wrote:

> Hi,
> Yes, the example you have provided works. But I was trying a message size
>> other than 1, and it didn't work for me.
> Python API was extended when moving from version 0.5 to 0.6, however,
> python performance tests haven't been updated to reflect the change. The
> problem slipped through QA as we are using 1 byte messages that happen to
> work by coincidence. I'm terribly sorry about this.
> Find fixed performance test attached.
> Also, I tried to wrap the functionality of py_remote_thr in a class. The
>> method "bind('EL','GQ')' method gives an assertion error  in locator.cpp
>>  line 93
>> cmd == get_ok_id
> The problem here is that the global object ("service") that you are trying
> to bind to is not running.
> The idea is that services have to be online before clients are able to
> connect to them.
> If you want clients not to fail when the service is not available, you can
> supply a list of services to zmq_server on startup. In that case clients are
> periodically trying to reconnect to the service even if it's not available
> at the moment. See zmq_server man page for more information:
> http://www.zeromq.org/local--files/area:docs-v06/zmq_server.pdf
> Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090422/65dbec25/attachment.htm>

More information about the zeromq-dev mailing list