ZeroMQ + Django & uwsgi issues
问题 Using django, we need to send a message to another, separate python program. Zeromq seems to be lightweight and should fit the bill for this. However, trying to get it to work and it always ends up with a ZeroMQ: Bad Address error, when setting the socket to zmq.PUSH (or anything else). This is the traceback: Exception Type: ZMQError Exception Value: Bad address ... ... sock = context.socket(zmq.PUSH) /usr/local/lib/python2.7/dist-packages/zmq/sugar/context.py in socket s = self._socket_class