[zeromq-dev] pyzmq on uwsgi process question

2011-10-10 Thread 郭梁
hello everyone I have an application based on zeromq-2.1.10 & pyzmq-2.1.9, the architecture looks like this: nginx(uwsgi) REQ \ | / / | \ backend worker1 worker2 workerN REP

Re: [zeromq-dev] pyzmq on uwsgi process question

2011-10-10 Thread 郭梁
oops! my mistake ! http://lists.unbit.it/pipermail/uwsgi/2011-January/001269.html 2011/10/10 郭梁 > hello everyone > > I have an application based on zeromq-2.1.10 & pyzmq-2.1.9, the > architecture looks like this: > >

Re: [zeromq-dev] LMAX/Distruptor code project

2011-10-10 Thread Martin Sustrik
On 10/07/2011 06:06 PM, asif saeed wrote: > Can you guys post a comparison between Disruptor and 0MQ? Disruptor is a queueing algorithm. 0MQ is messaging software. They are different things. There's a class inside 0MQ (ypipe_t) that roughly corresponds to the disruptor. Martin

Re: [zeromq-dev] push/pull -- unusual workflow

2011-10-10 Thread Martin Sustrik
Hi Whit, > The problem that I am having is that the pull socket on the client is > not receiving all of the results back. My guess is that the pull > socket on the client is attempting to fair queue among the connected > workers, and if on worker takes a larger share of the jobs, then > potential

Re: [zeromq-dev] ZeroMQ binding for PHP not working on WAMPSERVER

2011-10-10 Thread Mikko Koppanen
On Sun, Oct 9, 2011 at 9:31 PM, lanre lawal wrote: > I want to use the ZMQ library for a PHP project. I have downloaded the files > and done a build with visual studio. When I type the pear command to get the > pecl extension i get an error that says: ERROR: The DSP zmq.dsp does not > exist. Also

Re: [zeromq-dev] push/pull -- unusual workflow

2011-10-10 Thread Whit Armstrong
Thanks, Martin. It was just bad programming and bad debugging on my part. I did manage to get this working in most recent version of the rzmq package (not pushed yet). I'm going to roll the server portion up into a public ami, so others can try it out. It's amazing what one can accomplish in on

[zeromq-dev] epgm example

2011-10-10 Thread Roberto Palmer
Hello all, I have a problem while trying to make a simple example with epgm. I wrote the following simple C program, but it makes a core dump with the following error: Assertion failed: rc == 0 (connect_session.cpp:84). Aborted (core dumped) I'm using zmq 2.1.10 with F15. What I

Re: [zeromq-dev] epgm example

2011-10-10 Thread Steven McCoy
On 10 October 2011 11:57, Roberto Palmer wrote: > Hello all, > I have a problem while trying to make a simple example with epgm. > I wrote the following simple C program, but it makes a core dump > with the following error: > >Assertion failed: rc == 0 (connect_session.cpp:84). >A

[zeromq-dev] Windows Developer Preview = Windows 8?

2011-10-10 Thread Steven McCoy
I just noticed a new suite of IP stack APIs in the new look MSDN, called "Registered I/O": RIOCloseCompletionQueue > > > RIOCreateCompletionQueue >

Re: [zeromq-dev] OpenPGM 5.1.118 - maintenance release

2011-10-10 Thread Steven McCoy
A repackaging with Debian 7 based Autotools instead of OSX 10.6.8, this might fix some platform specific issues that have arisen. http://code.google.com/p/openpgm/downloads/detail?name=libpgm-5.1.118-1~dfsg.tar.gz Normally the "configure" scripts are built by running "./bootstrap.sh" on a clean S

Re: [zeromq-dev] pyzmq on uwsgi process question

2011-10-10 Thread Pieter Hintjens
On Mon, Oct 10, 2011 at 9:46 AM, 郭梁 wrote: > Independent testing everything looks normal, but on the uwsgi process, i got > the error code: http 502 HTTP error 502 (bad gateway) means something is wrong in your web server configuration, presumably before the request ever hits your application. I

Re: [zeromq-dev] epgm example

2011-10-10 Thread Roberto Palmer
Thankyou Steve for your explanation. BTW using the interface name (em2 on my system) still doesn't work and the program ends with a slightly different error: Segmentation fault (core dumped) So my only choice is to use the ip address/network address method. Rgds, Roberto ___

Re: [zeromq-dev] OpenPGM 5.1.118 - maintenance release

2011-10-10 Thread Mikko Koppanen
On Mon, Oct 10, 2011 at 8:16 PM, Steven McCoy wrote: > A repackaging with Debian 7 based Autotools instead of OSX 10.6.8, this > might fix some platform specific issues that have arisen. > http://code.google.com/p/openpgm/downloads/detail?name=libpgm-5.1.118-1~dfsg.tar.gz > Normally the "configure

[zeromq-dev] Adding workers dynamically ...

2011-10-10 Thread James Ladd
Is it possible to add workers at runtime without re-starting clients or brokers? ie: a box fails and we bring another online with 'n' workers on it. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-de

Re: [zeromq-dev] Adding workers dynamically ...

2011-10-10 Thread Andrew Hume
yes. this is one of the great cool things about zeromq. On Oct 10, 2011, at 11:25 PM, James Ladd wrote: > Is it possible to add workers at runtime without re-starting clients or > brokers? > ie: a box fails and we bring another online with 'n' workers on it. > > > _