zeromq Questions

2

Solved

I am currently working on a project that requires some communication over the network of a different data types from some entities of a distributed system and I am using ZMQ. The main goal of the...
Alienist asked 14/3, 2018 at 23:12

0

I have implemented this ZMQ Client-Server architecture with the order to one message from Sender client, this message arrives at other clients Receiver 1, Receiver 2 and Receiver 3. This means th...
Mathieu asked 22/3, 2018 at 22:22

4

I am just beginning to use ZeroMQ and am experimenting with some of the samples. I am using the C# language bindings and have run into an issue with getting a DllNotFound Exception. I can Load and...
Unpaged asked 17/1, 2011 at 21:47

2

Solved

I've just started with ZeroMQ and I'm trying to get a Hello World to work with PyZMQ and asyncio in Python 3.6. I'm trying to de-couple the functionality of a module with the pub/sub code, hence th...
Bellied asked 15/3, 2018 at 7:59

1

Solved

I'm trying to use ZeroMQ in Python (pyzmq) together with multiprocessing. As a minmal (not) working example I have a server- and a client-class which both inherit from multiprocessing.Process. The ...
Subminiaturize asked 30/5, 2017 at 8:47

4

Solved

ZeroMQ FAQ page suggest use of Google's protobuf as a way to serialise message content. Has anyone see a good usage example? I also need to get the answer to "What is the biggest advantage of ser...
Medieval asked 12/9, 2011 at 15:50

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

8

Solved

Trying to follow the directions from: http://github.com/zeromq/jzmq I installed pkg-config using Homebrew and then I run the following commands: ./autogen.sh ./configure The configure fails with:...
Yazzie asked 19/8, 2010 at 13:28

4

Solved

Consider the example code below (I typed it up quickly as an example, if there are errors it doesn't matter - I'm interested in the theory). bool shutDown = false; //global int main() { CreateTh...
Azoth asked 25/4, 2013 at 10:37

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

1

Solved

I have a simple setup of one client and one server. The client wants to execute a method in the server using ZeroMQ for communications. I am going to use the REQ and REP sockets because they are su...
Oceanus asked 30/12, 2017 at 22:43

4

Solved

As we all know, a ZeroMQ socket shall not be shared among application threads.context_t instances however can. I have a multi-threaded-application and I'd like to have each thread exchange message...
Alemannic asked 30/1, 2017 at 17:16

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

1

I am using Jeromq in multithreaded environment as shown below. Below is my code in which constructor of SocketManager connects to all the available sockets first and I put them in liveSocketsByData...
Plasticine asked 2/11, 2017 at 21:0

2

Solved

The Python standard library's socket.create_connection()method has a source address option, for controlling which source IP a connection uses. How do I do the same thing with a Python ZeroMQ sock...
Actinozoan asked 6/10, 2017 at 23:20

1

Solved

I have a simple PUSH/PULL ZeroMQ code in Python. It looks like below. def zmqtest(self): print('zmq') Process(target=start_consumer, args=('1', 9999)).start() Process(target=start_consumer, a...
Truce asked 30/9, 2017 at 3:57

1

Solved

I want to create a Publish / Subscribe architecture, using CZMQ-4.0.2, but I am not able to understand how to use the new zsock APIs. Can anyone point me to some examples using the new APIs?
Stream asked 10/7, 2017 at 7:0

3

Solved

I need a fast way to send 300 short messages a second over zeromq between the python multiprocessing processes. Each message needs to contain an ID and time.time() msgpack seems like the best way ...
Him asked 18/5, 2015 at 21:39

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

2

Solved

Stumble upon reading ZeroMQ FAQ about a Thread safety. My multi-threaded program keeps crashing in weird places inside the ZeroMQ library. What am I doing wrong? ZeroMQ sockets are not thread...
Capri asked 4/8, 2016 at 17:15

1

Solved

I've got several server apps that use a shared ZMQ class I created. Occasionally when these servers process a request, they need to send a message to another ZMQ server. I'm fairly new to ZMQ so I ...
Graupel asked 17/7, 2017 at 23:5

1

Solved

I have a client (PULL) connect to the server (PUSH). At first they work just fine. But later the connection is broken, and client-side ZeroMQ doesn't try to reconnect to server. One mysterious thi...
Periwig asked 8/10, 2012 at 8:54

2

In Fred Georges talk about microservice architectures, he mentions using Kafka as a high speed bus (he refers to as the rapids) and connecting multiple 0mq instances (referred to as rivers) to it. ...
Rale asked 23/7, 2014 at 0:5

© 2022 - 2024 — McMap. All rights reserved.