Quantcast
Channel: Active questions tagged zeromq - Stack Overflow
Browsing all 193 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Tron Mainnet Node setup and listening to transactions with ZeroMQ

I asked the following question earlier. However, I saw that there is no direct way. There are sources that this can be done with ZeroMQ. I did as described there, the node works, but there is nothing...

View Article


PUB/SUB can I .connect() before I .bind()?

I'm using a PUB/SUB design and my question is: Can I .bind() to a port after another socket has .connect()-ed to it,or should I .bind() before another socket tries to .connect() to the same address?In...

View Article


c++ zeromq with pgm crash in joining multicast in windows

I compile zeromq c++ source code with pgm source code in visual code 2019, and get zeromq lib.Then I config my multicast environment, but the program failed in joining multicast.my code is : void*...

View Article

PUB/SUB not sending data

I'm sending data in python between two connect machines within the same network (successfully connected).The publisher code is defined as:def senderzmq(self, lat, lon): sock =...

View Article

Image may be NSFW.
Clik here to view.

How to send requests to ZeroMQ workers when router is bound to inproc address?

I am currently working with an existing program that uses ZeroMQ, and it is structured as follows:Clients (REQ) - Router - Proxy - Dealer - Workers (REP)The Router is bound to an inproc addressThe...

View Article


How to pause PUSH messages until the socket has a client with ZeroMQ?

I am using ZeroMQ and NetMQ to allow for a two-way communication between some python scripts and a Unity C# script. I implemented it with two PUSH-PULL sockets, one for each way. This works fine. The...

View Article

ZMQError: Address already in use while using sockets in loops

I am trying to "simulate message passing between 6 nodes in a distributed environment" using Zero MQ in Python, in particular with the classic client/server architecture with REQ and REP. My idea is,...

View Article

Are the ways to speed up ZMQ's recv_multipart()?

I have multiple clients that send dicts of Numpy arrays to a ZMQ server. I managed to pack the dicts of Numpy arrays into a multi part message to avoid memcpy's during deserialization, which doubled...

View Article


Can't access Docker from host

I'm building a NodeJS with ZeroMQ Socket as publisher inside a Docker Container, and also a subscriber, but the subscriber is running in the laptop / host / localhost, don't really know how to name...

View Article


Image may be NSFW.
Clik here to view.

Optimizing ZeroMQ for High-Throughput Low-Latency Messaging

I am working on a high-performance messaging system using ZeroMQ, and I am encountering issues with handling high-volume requests. The system needs to handle about 150K requests per second with a...

View Article

ZMQ Pub/Sub no support reset of publisher service node

Hi i are using ZMQ with pub/sub pattern.I have a one node publisher and other nother subcriber, i tried with python (pyzmq) and with c++ (cppzmq)If i start publishear service and subscriber servicio...

View Article

Java: Better client/server message exchange approach? [closed]

I have a Java application which consists two kind of long running processes, let's say Server and Client, and usually the number of Clients is greater than 10.Some of the application behavior...

View Article

Simple client/server ZMQ in Python to send multiple lines per request

This is my first exposure to ZMQ under Python and I want the server to sent multiple lines when it receives a request from the client.The code that I added to the example offered by ZMQ on the server...

View Article


how to bind zeromq (libzmq.dylib) with mql 5 on macOS

I am trying to write a trading bot using C++ in vscode which will be connected to metatrader 5 via binding (zeromq) on macOS. But after I installed brew install zeromq and also moved the zmq.h to :"...

View Article

Image may be NSFW.
Clik here to view.

How could I accomplish the equivalent of a ROS service in ZeroMQ?

In short: How could I realize something like a "Service" from ROS in ZMQ?ROS2 is typically based on subscribers and publishers to topics, in the same way that ZeroMQ uses them: messages are published...

View Article


Sending an existing dict through zmq ipc

I'm trying to send an existing dict through zmq ipc socket, I can send a string with this code, but I can't send a dict objectimport zmq, datetimed = {0: ('356612022462768', 'EVENT', 0, '2012-12-26...

View Article

How to get ZeroMQ as a 32bit library and merge it with the standard 64bit...

Installing ZeroMQ (v4.2.2) is a breeze with either configure/make/install or with homebrew, but only the 64bit version is available. I tried brew's --universal option, but it says a universal option is...

View Article


ZeroMQ Binary Star pattern ( for high availability )

Reading the ZeroMQ Guide I stumbled upon some part of the text that I don't understand very well. This is in Chapter 4, Reliable Request-Reply Patterns, specifically Binary Star pattern.A suitably...

View Article

What's the right ZeroMQ architecture for my scenario?

I have a service A that every once in a while needs to send a message to a cluster of services B1, B2 ... BN. Then all of these services need to receive that message reliably, and send a confirmation...

View Article

Permission error when trying to install ZeroMQ package with npm

I'm trying to install the zeromq library on my Mac running on ARM64, which I need to use node-red, and am getting a permission error. I get this error when trying to install the latest version using...

View Article
Browsing all 193 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>