zeromq Questions

5

Solved

When you use the simple ZeroMQ REQ/REP pattern you depend on a fixed send()->recv() / recv()->send() sequence. As this article describes you get into trouble when a participant disconnects in the m...
Politic asked 13/11, 2014 at 17:57

2

I've been following this (https://developer.ibm.com/tutorials/se-distributed-apps-zeromq-part2/) tutorial for setting up a ZeroMQ client/server setup which uses CurveZMQ to encrypt messages. The co...
Dextrorse asked 8/4, 2019 at 17:31

4

Solved

I just got started with ZMQ. I am designing an app whose workflow is: one of many clients (who have random PULL addresses) PUSH a request to a server at 5555 the server is forever waiting for cli...
Miter asked 24/9, 2011 at 12:25

1

I tried to monitor the number of open Unix socket files with lsof -U | wc -l while I executed this code: >>> import zmq # 1375 Unix socket files >>> c = zmq.Context() # 1377 Unix...
Calcimine asked 4/4, 2019 at 10:9

1

Solved

I know how to send a string message from c++ to python via zeromq. Here's the code for sending a string message I know : C++ sender code : void *context = zmq_ctx_new(); void *publisher = zmq_s...
Navicert asked 10/4, 2019 at 19:20

5

Solved

I've got a C++ application that is using ZeroMQ for some messaging. But it also has to provide a SGCI connection for an AJAX / Comet based web service. For this I need a normal TCP socket. I could...
Mab asked 10/10, 2012 at 21:53

1

I have a number of nodes that will use a secondary service to be informed about the address of each other. I want to be able to publish information so as all the other nodes can hear it. Using an X...
Montherlant asked 14/3, 2019 at 17:50

2

Solved

Can someone point me to an example of a REQ/REP non-blocking ZeroMQ (0MQ) with Python bindings? Perhaps my understanding of ZMQ is faulty but I couldn't find an example online. I have a server in ...
Vicissitude asked 18/9, 2012 at 1:16

2

Solved

In the past I’ve used the Visual Studio solution files to build zeromq (libzmq) on Windows. I just noticed that the Visual Studio solutions have been deprecated because they are too difficult to ma...
Exurbia asked 28/8, 2018 at 11:17

2

My goal is to send images and data string from a RPi (server) to a client. I use send_json(data) where the data is a dict {'img': img_ls, 'telemetry':'0.01, 320, -10'}. img_ls is the image converte...
Whereat asked 11/7, 2017 at 17:27

1

I'm using Symfony2 to build a simple chat application. I decided to use the GeniusesOfSymfony/WebSocketBundle for my WebSocket, which is powered by Ratchet : https://github.com/GeniusesOfSymfony/...
Yellow asked 1/11, 2016 at 23:15

3

I am contemplating inter-process sharing of custom objects. My current implementation uses ZeroMQ where the objects are packed into a message and sent from process A to process B. I am wondering ...
Stalinist asked 23/8, 2018 at 8:38

1

Solved

For sending string data, following codes works : context = zmq.Context() socket = context.socket(zmq.PUB) socket.bind("tcp://*:5667") socket.send_string("my string data") For sending image(ndar...
Genseric asked 29/10, 2018 at 15:46

1

According to the ZeroMQ documentation a pub socket is supposed to drop messages once the number of queued messages reaches the high-water mark. This doesn't seem to work in the following example (...
Hyperkinesia asked 17/11, 2018 at 23:14

3

Solved

I need to transfer financical data between two process (currently c++ and c#, in future c++ and c++ on Linux). It's live quotes - something like 1 100, 1 100.1, 2 101.2 end so on.). Data has well-d...
Cb asked 5/5, 2013 at 18:50

2

Solved

Introducing zmq into my Electron app has proved to be onerous: 01:33:03 {master %=} rgbkrk@puter ~/code/jupyter-sidecar$ electron . dyld: lazy symbol binding failed: Symbol not found: __ZN2v89Sign...
Rodrickrodrigez asked 30/4, 2015 at 6:39

2

Solved

It seems as though the XPUB/XSUB socket types have a serious flaw that is difficult to work around: This is my implementation of that center node: #include <zmq.hpp> int main() { zmq::c...
Cuspidor asked 30/3, 2017 at 22:58

3

Solved

I'm just starting to learn how to work with zeromq libraries and using them in different C++ projects. The sample code that I wrote (actually copied from there tutorials)is this: // file: main.cpp...
Gershom asked 20/12, 2016 at 21:22

3

Solved

I want to limit the amount of memory consumed by my ZeroMQ message queues in a Python application. I know that setting the high-water mark will limit the amount that will be queued on the sender si...
Jenson asked 21/2, 2012 at 21:12

2

Solved

I am using zmq req/rep pattern communication. The implementation is pretty simple, the req sends some data and waits on recv. The rep receives the data, process and reply back. //REQ zmq_connect z...
Filip asked 11/3, 2015 at 14:25

2

Solved

I have a container that it has several ports, I want to have access to one of its ports (9001) outside of this docker as remote. My docker IP is: 172.17.0.1 My container IP is: 172.19.0.23 My ser...
Garfish asked 10/7, 2018 at 8:4

1

Solved

I'm using C++ binding for ZMQ (cppzmq) and I'm trying to set the connection timeout of TCP socket using a .setsockopt()-method like this: int connectTimeout = 1000; socket.setsockopt(ZMQ_CONNECT_T...
Cateyed asked 17/6, 2018 at 10:36

3

I am trying to use the ZeroMQ rep/req and cannot figure out how to handle server side errors. Look at the code from here: socket.bind("tcp://*:%s" % port) while True: # Wait for next request fro...
Wampumpeag asked 7/2, 2014 at 21:35

3

Solved

Who has to manages the persistent in the ZeroMQ? When we use the ZeroMQ clients in Python language, what are the plug-ins/modules available to manage the persistent? I would like to know the patt...
Sure asked 30/10, 2010 at 16:58

2

Solved

N-proxy-N Pub-Sub Similar to the question N to N async pattern in ZeroMQ?, but which unfortunately never received an answer with working code. I'm trying to implement Pub-Sub network as described...
Izak asked 26/3, 2018 at 9:31

© 2022 - 2024 — McMap. All rights reserved.