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

Moving cppzmq message_t to background thread

I have a receiver thread. I want to move the messages into a queue for background processors threads. To put it simply:std::queue<zmq::message_t> qu;zmq::message_t msg;zmq::recv_result_t res =...

View Article


ZeroMQ Websockets with SSL through CERTBOT

I have a server-side application that hosts a https secure webpage on port 443, and also needs to host two additional websockets. One of the websockets will be communicating to "workers" I program...

View Article


ZeroMQ can subscribe, but how to exclude a specific filter?

In ZeroMQ we can subscribe to a topic, with some filtersocket.setsockopt(zmq.SUBSCRIBE, "/someRoot/")Is there a way to exclude a specific filter from being sent? For example, how can we exclude...

View Article

ZeroMQ: sending pointer with inproc

I am trying out ZeroMQ (zmq) for the multithreaded program.I want to avoid copying the data that need to be passed to workers.My idea was to send the pointer to the data as a zmq message.It works. But...

View Article

ZeroMQ (C++): sending pointer with inproc

I am trying out ZeroMQ (zmq) for the multithreaded program.I want to avoid copying the data that need to be passed to workers.My idea was to send the pointer to the data as a zmq message.It works. But...

View Article


JeroMQ - Sending message from Java client to Python server

I am trying to send a message from a Android Java client using JeroMQ to a Python server using ZeroMQ. I am running bother server and client on the same machine. The server runs in a Jupyter notebook,...

View Article

Why will ZeroMQ PUSH/PULL work, but not PUB/SUB?

Environment: NVIDIA-flavored Ubuntu 18.01 on their Jetson development board with their TX2i processor. ZMQ 4.3.2, utilizing the cppzmq C++ wrapper for ZMQ.I've got a slew of code running using google...

View Article

php warning for zmq in php

PHP Warning: PHP Startup: Unable to load dynamic library 'zmq' (tried: C:\xampp\php\ext\zmq (The specified module could not be found), C:\xampp\php\ext\php_zmq.dll (The specified module could not be...

View Article


How to message using zmq with remote machines

I was planning to use zmq to communicate between a personal laptop and a remote machine. I plan to use the laptop as the server and the remote machine as a client. Currently, I use a vpn to get into...

View Article


cancelling asyncio.wait in combination with...

I'm trying to make a code template which sends a heartbeat to some external things by ZMQ on win32 and linux.On win32 I must use the asyncio.WindowsSelectorEventLoopPolicy() because of zmq and...

View Article

How to download and install the library for JZMQ AND JCZMQ

I'm trying to find the guidance to download and install the native library for JZMQ and JCZMQ, I had done implemented the code and ran successful using Jeromq dependency, Now stepping forward i want to...

View Article

Aeron vs ZeroMQ: What is the distinction between transport and messaging?

This question is motivated by the discussion in this GitHub issue.I asked Edge Copilot the same but I don't fully trust LLMs. Here is an excerpt from that chatAeron: Provides a high-performance,...

View Article

Python ZeroMQ PUSH/PULL logic, set high water mark to a low end puller...

I am using simple one to one PUSH/PULL worker/server python codes to send and receive messages.The worker uses the PUSH socket to send messages to the PULL server. The server processing unit is not as...

View Article


Why does ZMQ context close blocks forever?

I have the following code snippet. There the context.close() blocks forever. Does anyone have a hint on how to fix this? I suspect this is happening because I send a message but never receive an...

View Article

How to show a live video from python using Laravel (php)? [closed]

newbie herei wanna show a live video from python (because my friend using python for that video) to my website for my school project. i using laravel for build my website (php 8.1) and i dont have any...

View Article


How to use Websocket as event or notification service in PHP?

I am using php 7.4, created and set up websocket using Ratchet-PHP. Websocket is working good but the issue here is while injecting my event/notification inside the Websocket Hook function to send...

View Article

What is the ZeroMQ PUB/SUB internal behaviour?

I'm trying to get my head around to the behaviour of zmq with PUB/SUB.Q1: I can't find a real reason why with the PUSH/PULL sockets combo I can create a queue that actually queue in memory messages...

View Article


Image may be NSFW.
Clik here to view.

Latency after moving micro-service (using ZeroMQ, C, & Python processes) from...

I have two processes wrote in C that set up PUSH/PULL ZeroMQ sockets and two threads in a Python process that mirror the PUSH/PULL sockets. There are roughly 80 - 300 light weight (<30 bytes)...

View Article

Measuring zmq latency between two python processes in high resolution in...

I want to measure the latency of zeromq between two python processes in high resolution(in a us/ns unit)(windows 10).Here's my code.sub.pyimport sysimport zmqimport timeport = "5556"if len(sys.argv)...

View Article

Image may be NSFW.
Clik here to view.

Can a ZeroMQ ROUTER socket make a spontaneous asynchronous request to a...

I'm reading the ZeroMQ Guide and came across the following passage in regards to the ROUTER socket and identities:An application that uses a ROUTER socket to talk to specific peers can convert a...

View Article
Browsing all 193 articles
Browse latest View live


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