[zeromq-dev] Is it a bad idea to create and destroy 0MQ sockets frequently?

crocket crockabiscuit at gmail.com
Mon Aug 19 22:34:02 CEST 2013


A few days ago, Michael Keselman reported his issue with JeroMQ to
zeromq-dev as below.

"I have two use cases:
1) short-living threads within my application (under 10 milliseconds)
2) threads that are initiated and managed by an outside application which
calls my code. My code is executed also in a few milliseconds timeframe

in either case the I have a few msec to connect and publish a message. If
when I tried to open a socket within those few milliseconds, JeroMQ crashed
with the following stack trace after ~90,000 calls."

It sounds like a bad news.

Is it probably a bad idea to create and destroy 0MQ sockets tens of times
per second in libzmq, too?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130820/938ea0e2/attachment.htm>


More information about the zeromq-dev mailing list