ZeroMQ (ZMQ, 0MQ, ØMQ) is a high-performance asynchronous messaging library aimed at use in scalable, distributed and/or concurrent applications.
0
votes
0answers
4 views
Sending message to ZeroMQ from Rails 4
I'm trying to send message to ZeroMQ from Rails 4 application.
I added gem "zmq" to my Gemfile, then I use this code in some method in my Application Controller.
context = ZMQ::Context.new(1)
...
0
votes
1answer
20 views
Calling system() from threads with while using ZeroMQ
I am having a strange problem with a C ZeroMQ on OS X. I am using the "Multithreaded service in C" code from the guide and I have simply added a call to system("ls") after the sleep(1) call in the ...
0
votes
1answer
43 views
Java - Using of static ArrayLists
I have a maven-webapp project where it sends requests to a zeroMQ server(that fetch some data from a a database server and then the ZMQ-Server send the respond back to my application as packets one by ...
0
votes
0answers
12 views
the way to synchronize state between distributed clients
Here is my problem:
My application is a distributed real-time message broker for web applications. Clients from web-browsers connect to one of the application nodes. Those nodes connected by ZeroMQ ...
0
votes
1answer
17 views
Using polling in jeromq
I am learning to use zeromq polling in android . I am polling on a req socket and a sub socket in the android program(client). So that this client can receive both reply messages from the server and ...
0
votes
2answers
19 views
using zmq PUSH socket per producer thread vs dedicated zmq thread for all threaded producers
It's explicitly stated in the ZeroMQ guide that sockets must not be shared between threads. In case of multiple threaded producers who need to PUSH their output via zmq, I see two possible design ...
0
votes
1answer
18 views
Using polling with pub/sub + req/rep in zeromq
I was working with different patterns in zeromq in my project and right now i am using req/rep(later will shift to dealer/router) and pub/sub . The client sends messages to the server and the server ...
1
vote
1answer
29 views
ZeroMQ, ROUTER - DEALER, send a message to all
One server - ZMQ_ROUTER, many clients - ZMQ_DEALER
How on a server(ZMQ_ROUTER) send a message to all clients(ZMQ_DEALER)?
UPD:
I know there are PUB-SUB pattern and that is really what I need. But I ...
0
votes
0answers
18 views
Zeromq, gevent, socketio, flask framework how to serve other commands while server is sending data in while loop
I have an issue with my code, not sure if I need to change the architecture or I miss something crucial about gevent/socketio/flask.
What I'm trying to achieve is:
Server receives data from zmq SUB ...
1
vote
2answers
33 views
Unable to return same double using Google Protocol Buffers from C# to C++ and back
I'm trying to communicate between C# and C++ with varying amounts of success.
I am able to send a message between the two using reply/request, but the doubles that I am receiving are not correct.
...
1
vote
1answer
34 views
Communicate between a C++ plugin and a Python program
I'm having so many doubts about this that i thought i should ask. Here's the situation:
I'm writing a C++ .dll that is going to be loaded into a program,"EuroScope.exe". While loaded, the program ...
-1
votes
0answers
18 views
How to find all client side code of ZeroMQ/ActiveMq in application
How to find all client side code(message absorb-er) of ZeroMQ/ActiveMq in large application.
client can be in ruby code or java code.
I have found the message publisher in the application, but how to ...
1
vote
1answer
20 views
zmq: can multiple threads PUSH in a simple PUSH-PULL pattern
I have two processes: a producer which pushes messages via ZMQ to a consumer in a simple PULL-PUSH point-to-point pattern. The producer has several internal threads that send() via zmq. However, 0MQ's ...
0
votes
0answers
11 views
ZeroMQ, PHP and events
I'm new to the hello MQ concept, and i'm trying to accomplish the following scenario.
I have a set of web-clients that connect to a server. I want all these clients to sync with eachother. Each ...
0
votes
0answers
44 views
why client can not receive refresh message?
realtime messsage thread can receive messages from client properly today and yesterday
static message thread can receive messages from client properly today and yesterday
during real time period, i ...