Re: [zeromq-dev] ZeroMQ Newbie

2013-04-03 Thread A L
Hi Mark, I'd be thankful if you could please point me to those multi-threading examples using 0mq in the 0mq guide. Or just give me online links. Thanks -Asif On Tue, Apr 2, 2013 at 7:35 PM, A. Mark wrote: > Yes you can certainly use multiple threads besides zmq's own threads. > There are ma

[zeromq-dev] Help for pattern based on ZMQ

2013-04-03 Thread William Martin
Hi, I am working on a application using massive parallel workers. The application use the Parallel Pipeline pattern to dispatch work on multiple computer. It's work fine and i am happy to use ZMQ. http://zguide.zeromq.org/page:all#Divide-and-Conquer The next generation of this application must ru

Re: [zeromq-dev] ZeroMQ Newbie

2013-04-03 Thread A. Mark
Here is one: asyncsrv: Asynchronous client/server in C http://zguide.zeromq.org/page:all On Wed, Apr 3, 2013 at 4:02 AM, A L wrote: > Hi Mark, > > I'd be thankful if you could please point me to those multi-threading > examples using 0mq in the 0mq guide. Or just give me online links. > > T

Re: [zeromq-dev] ZeroMQ Newbie

2013-04-03 Thread Eric Hill
http://zguide.zeromq.org/page:all#Multithreading-with-MQ Contexts are thread safe. Create a new socket in each thread and you'll be all set. On Apr 2, 2013 4:38 AM, "A L" wrote: > Hi Eric, > > Thanks for replying. > > I also want to know if, in addition to using my own thread, I can use > multip

[zeromq-dev] zloop test does not work

2013-04-03 Thread Ashwin Raghav
Hi, I have been trying to get the reactor to work. I just tried the zloop_test method invocation and it does not seem to terminate. https://github.com/zeromq/czmq/blob/master/src/zloop.c Is there a bug with zloop or an OS dependancy? I am on Ubuntu 12.04 Kindly advise. -- Regards, Ashwin Raghav M

Re: [zeromq-dev] WebSocket or JS interface to ZeroMQ

2013-04-03 Thread Pieter Hintjens
On Mon, Apr 1, 2013 at 4:19 PM, Nishant Mittal wrote: > Thanks Apostolis.. will look into NullMQ NullMQ gives you ZeroMQ-like patterns but doesn't actually speak the ZMTP wire protocol, so won't talk to real ZeroMQ peers... until browsers support native sockets, you have to go through some kind

Re: [zeromq-dev] Sending via ROUTER socket to ROUTER socket fails initially with "No route to host"

2013-04-03 Thread Pieter Hintjens
On Mon, Apr 1, 2013 at 6:23 PM, Anoop Karollil wrote: > Pieter, any clue as to why the send with the connected (not bound) > ROUTER socket might be failing initially? Please see my previous email > on this thread for more details about what I am seeing. No clue, but if you can make a minimal tes

Re: [zeromq-dev] czmq - Timer returning -1 don't finish zloop

2013-04-03 Thread Pieter Hintjens
On Mon, Apr 1, 2013 at 6:38 PM, Felipe Cruz wrote: > This is not entirely true.. Timers returning -1 don't make the loop to > return. I have a small patch for this issue but I'm not sure if we need a > minor fix in the docs or if we really want what's in the docs. I think we want what's in the d

Re: [zeromq-dev] WebSocket or JS interface to ZeroMQ

2013-04-03 Thread Pieter Hintjens
Just saw https://github.com/racklin/moz-zeromq which does answer your question, I think, at least for Mozilla -Pieter On Wed, Apr 3, 2013 at 8:08 PM, Pieter Hintjens wrote: > On Mon, Apr 1, 2013 at 4:19 PM, Nishant Mittal wrote: > >> Thanks Apostolis.. will look into NullMQ > > NullMQ gives you

Re: [zeromq-dev] inproc: message dropped after ZMQ dealer connected

2013-04-03 Thread Pieter Hintjens
Hi Kah-Chan, zmq_connect is synchronous on inproc, so if you could create a short test case that reproduces your lost message symptom, that would be great. -Pieter On Wed, Apr 3, 2013 at 3:13 AM, Kah-Chan Low wrote: > Hello > I am using inproc and I have a router and dealer pair. I bind to rou

Re: [zeromq-dev] Help for pattern based on ZMQ

2013-04-03 Thread Pieter Hintjens
William, Take a look at the Majordomo pattern in the Guide, and the same project on GitHub: https://github.com/zeromq/majordomo It does what you need, I think. -Pieter On Wed, Apr 3, 2013 at 4:38 PM, William Martin wrote: > Hi, > > I am working on a application using massive parallel workers

[zeromq-dev] clrzmq DLL

2013-04-03 Thread Nishant Mittal
Hi All, I dont have access to windows so am not able to install NUGet which seems to be required to get the clrZMQ DLL. I am running MonoDevelop on linux and just need that DLL. can someone email it to me? thanks Nishant ___ zeromq-dev mailing list zerom

Re: [zeromq-dev] WebSocket or JS interface to ZeroMQ

2013-04-03 Thread Nishant Mittal
Pieter, thanks. Nishant On Wed, Apr 3, 2013 at 2:12 PM, Pieter Hintjens wrote: > Just saw https://github.com/racklin/moz-zeromq which does answer your > question, I think, at least for Mozilla > > -Pieter > > On Wed, Apr 3, 2013 at 8:08 PM, Pieter Hintjens wrote: > > On Mon, Apr 1, 2013 at 4:

Re: [zeromq-dev] czmq - Timer returning -1 don't finish zloop

2013-04-03 Thread Felipe Cruz
I got tricked by an old revision.. this is already fixed: https://github.com/zeromq/czmq/issues/113 regards, 2013/4/3 Pieter Hintjens > On Mon, Apr 1, 2013 at 6:38 PM, Felipe Cruz > wrote: > > > This is not entirely true.. Timers returning -1 don't make the loop to > > return. I have a small

[zeromq-dev] Which language binding/API to use such that the process uses least RAM

2013-04-03 Thread Arvind Creatrix IT Soft
Hi I wish to create a simple process that basically measures the CPU/RAM utilisated by a running process on that server, and sends it via ZeroMQ. With the multiple language bindings available for ZeroMQ, I wish to use that language(for utilising ZeroMQ)- that uses the least possible RAM. And id

[zeromq-dev] Which language binding/API to use such that the process uses least RAM

2013-04-03 Thread Arvind Creatrix IT Soft
Hi I wish to create a simple process that basically measures the CPU/RAM utilisated by a running process on that server, and sends it via ZeroMQ. With the multiple language bindings available for ZeroMQ, I wish to use that language(for utilising ZeroMQ)- that uses the least possible RAM. And id

Re: [zeromq-dev] Which language binding/API to use such that the process uses least RAM

2013-04-03 Thread A. Mark
I think in general you have the most control over your memory allocation using C. On Wed, Apr 3, 2013 at 2:11 PM, Arvind Creatrix IT Soft < arv...@creatrixitsoft.com> wrote: > > Hi > > I wish to create a simple process that basically measures the CPU/RAM > utilisated by a running process on that

Re: [zeromq-dev] Which language binding/API to use such that the process uses least RAM

2013-04-03 Thread Stathis Gkotsis
Hi, I would first look at czmq: http://czmq.zeromq.org/. We are using FreePascal with this binding: https://github.com/bvarga/delphizmq (works with FreePascal in Linux and Delphi in Windows). FreePascal has manual memory management and low memory consumption in general. However, especially for c

Re: [zeromq-dev] Which language binding/API to use such thatthe process uses least RAM

2013-04-03 Thread Arvind Creatrix IT Soft
Hi all/Stathis (1) Can you you provide an idea about the memory used by zeromq library itself (2) What kind of memory is utilised by your FreePascal process? And by the ZeroMq Library in your usage? (As you mentioned that you are using it, hence I am requesting you to give an idea of the RAM us