pyzmq Questions

2

I'm using pyzmq library with pub/sub pattern. I have some fast ZMQ publishers using .connect() method and a slower ZMQ subscriber using .bind() method. Then after a few minutes, my subscriber recei...
Radu asked 16/1, 2018 at 10:15

5

Solved

I would like to run an IPython instance on one machine and connect to it (over LAN) from a different process (to run some python commands). I understand that it is possible with zmq : http://ipytho...
Arris asked 2/4, 2012 at 13:33

4

Solved

I can only find old C++ source examples. Anyways, I did mine, based on them. Here's my publisher in python: import zmq context = zmq.Context() socket = context.socket(zmq.PUB) socket.bind("tcp://*...
Costello asked 25/12, 2017 at 20:43

2

Solved

In Python ZMQ publisher/subscriber sample template, the publisher uses .bind() method and the subscriber uses .connect() method, that connected to the bind IP address. But we can replace .bind() a...
Bugleweed asked 26/11, 2017 at 11:59

2

Solved

I have spent a week searching and trying different solutions with no luck. I've seen several others having the same problems going back over a year. The issue: Windows 10 Pro build 15063.674 I'm...
Romany asked 7/10, 2017 at 18:16

4

During py2exe build I get the following error: creating python loader for extension 'win32clipboard' (C:\Python27\lib\site-packages\win32\win32clipboard.pyd -> win32clipboard.pyd) creating pyth...
Interdepartmental asked 14/2, 2013 at 8:43

1

Solved

I'm trying to set up a toy example of Docker networking with ZeroMQ in macOS, where the serverd.py sends a message to the clientd.py and the client simply displays it using PUSH/PULL. If I run them...
Simonesimoneau asked 19/8, 2017 at 13:23

1

Solved

I'm trying to run a most simple demo of flask app in an iPython notebook like this. from flask import Flask app = Flask(__name__) @app.route('/') def hello_world():. return 'Hello World!' ...
Rewrite asked 26/1, 2016 at 18:9

1

I want to use jupyter kernels in side the celery worker. There will be one Jupyter Kernel for each Celery Worker. To achieve it I am overriding the default Worker class of the celery, at the initi...
Deandeana asked 16/3, 2017 at 12:33

1

Solved

I'm having some trouble understanding how the ZeroMQ high-water mark (HWM) queues work. I have made two scripts attached below, which reproduce the following. Stablish a PUSH/PULL connection, Se...
Denice asked 22/3, 2017 at 10:23

1

So I'm new to ZeroMQ and I am trying to send byte message with ZeroMQ, using a PUB / SUB setting. Choice of programming language is not important for this question since I am using ZeroMQ for commu...
Save asked 8/1, 2017 at 4:19

4

Solved

I can't seem to install pyzmq on my macbook (OSX 10.9.1) First call was to run: sudo pip install pyzmq There was an error that libzmq couldn't be found, and it appeared to try and compile the b...
Penuche asked 5/3, 2014 at 3:14

4

Solved

Suppose that several machines are interacting together using python's zeroMQ client. These messages are naturally formatted as strings. Is there a limit to the length of a message (string)?
Brush asked 1/7, 2011 at 2:51

1

Solved

Here is my code with the extraneous stuff stripped out: coordinator.py context = zmq.Context() socket = context.socket(zmq.ROUTER) port = socket.bind_to_random_port(ZMQ_ADDRESS) poller = zmq.Pol...
Lordinwaiting asked 12/12, 2015 at 16:41

1

Solved

ZeroMQ provides pretty good documentation about how to set up a pub-sub pattern with the topic filter, as described in the api docs. ZeroMQ also provides the methods socket.send_json() and socket.s...
Pani asked 15/10, 2015 at 22:13

1

Solved

I am trying to use ZeroMQ's pub-sub sockets. However, I don't clearly understand the role of context (zmq::context_t) while creating sockets (zmq::socket_t). Assuming that I want to create 5 subs...
Bellybutton asked 28/8, 2015 at 21:50

2

Solved

How can I implement or do kind of "hack" in PUB-SUB pattern to get an ability to publish only to authorized subscribers, disconnect unauthorized subscribers etc? I googled for this problem, but al...
Dituri asked 11/6, 2015 at 15:8

1

I have been reading about ZeroMQ more specifically about NetMQ and almost every Pub/Sub examples I saw used to Bind the Publisher socket and then the Subscriber socket connects to the other. So i'...
Tubercle asked 20/4, 2015 at 15:41

2

Solved

I am having trouble installing the PyZMP dependency for iPython. I have tried a number of things such as using pip/brew, but ended up installing the package manually using this answer. Now, pip li...
Heaviness asked 2/4, 2014 at 15:7

2

Solved

Can you please tell me how you can use to send messages ZeroMQ between two programs located on different servers using some common socket? With all local sockets program works, but I do not underst...
Fraya asked 24/1, 2013 at 21:30

1

I used Dockerfile successfully built a container. However, my code doesn't work in the container. It does work if I install all the packages manually. I'm assuming I messed up something that cause ...
Circumgyration asked 17/12, 2014 at 7:50

1

I have found a similar question, ZeroMQ: HWM on PUSH does not work, but it couldn't solve my problem. I want to control the number of messages that the push socket queues, but it doesn't work and ...
Tanah asked 24/3, 2014 at 15:30

4

Solved

Following this example in the ØMQ docs, I'm trying to create a simple receiver. The example uses infinite loop. Everything works just fine. However, on MS Windows, when I hit CTRL+C to raise Keyboa...
Fourposter asked 18/6, 2013 at 16:19

2

I need to send a dictionary as the message from a publisher to subscribers. With the REQ/REP pattern send_json and recv_json work nicely, but I can't seem to find an incantation that works for PUB/...
Rimbaud asked 7/8, 2014 at 17:39

2

I am trying to write a server/client script with a server that vents the tasks, and multiple workers that execute it. The problem is that my ventilator has so many tasks that it would fill up the m...
Metaphysics asked 15/1, 2014 at 9:29

© 2022 - 2024 — McMap. All rights reserved.