Re: [zeromq-dev] N00b question re HWM

2013-06-24 Thread Pieter Hintjens
Set the HWM before connecting or binding. On Jun 25, 2013 2:36 AM, "David Cheney" wrote: > > I have s simple "Sender" S.java and "Receiver" R.java using jzmq. I start > the receiver, then the sender. I stop the receiver after it has received > about 350 messages; the sender reports queuing 1000

Re: [zeromq-dev] pyzmq poller performance

2013-06-24 Thread MinRK
>From my tests this evening, it looks like zmq_poll does have an appreciable cost (plus the overhead of being wrapped in Python), and will be notably slower than a simple `while True: s.recv()`. But I did find some inefficiencies in the Poller implementation, which should be addressed by PR #381 <

[zeromq-dev] N00b question re HWM

2013-06-24 Thread David Cheney
I have s simple "Sender" S.java and "Receiver" R.java using jzmq. I start the receiver, then the sender. I stop the receiver after it has received about 350 messages; the sender reports queuing 1000 messages - so far so good. I restart and quickly stop the receiver. It reports receiving all but

Re: [zeromq-dev] ZeroMQ on Windows

2013-06-24 Thread Diego Duclos
I've used both clrzmq2 and pyzmq successfully on windows with no trouble at all. (clrzmq can be gotten from NuGet and pyzmq from https://github.com/zeromq/pyzmq/downloads (just pick the right one for your python version) On Mon, Jun 24, 2013 at 7:09 PM, Nishant Mittal wrote: > We have a require

Re: [zeromq-dev] ZeroMQ on Windows

2013-06-24 Thread Nishant Mittal
Steven/Doron, this sounds very promising.. I will start with the native Java binding first. Steve, its cool that you are in Manhattan, if we cant get JeroMQ working in a day.. i'll need your help.. thanks again. Nishant *Nishant Mittal* Director, Product Development *Rosenblatt Securities Inc*.

Re: [zeromq-dev] ZeroMQ on Windows

2013-06-24 Thread Nishant Mittal
yeah that matches thanks Nishant On Mon, Jun 24, 2013 at 1:53 PM, Neylor Ohmaly Rodrigues e Silva < nohros@gmail.com> wrote: > Check if the DLL that you are using matches your machine processor > architecture(x68/x64). > > > 2013/6/24 Nishant Mittal > >> We have a requirement to write a sm

Re: [zeromq-dev] ZeroMQ on Windows

2013-06-24 Thread Steven McCoy
On 24 June 2013 13:09, Nishant Mittal wrote: > We have a requirement to write a small windows client that uses a SUB/DLR > socket to connect to a PUB/RTR running on a linux machine. We tried a lot > of different ways (Java, .NET) but couldnt get the client to work on > windows.. windows keeps com

Re: [zeromq-dev] ZeroMQ on Windows

2013-06-24 Thread Doron Somech
If you are using .net you can try NetMQ which is native port of zeromq. https://github.com/zeromq/netmq On Jun 24, 2013 8:09 PM, "Nishant Mittal" wrote: > We have a requirement to write a small windows client that uses a SUB/DLR > socket to connect to a PUB/RTR running on a linux machine. We tr

Re: [zeromq-dev] ZeroMQ on Windows

2013-06-24 Thread Neylor Ohmaly Rodrigues e Silva
Check if the DLL that you are using matches your machine processor architecture(x68/x64). 2013/6/24 Nishant Mittal > We have a requirement to write a small windows client that uses a SUB/DLR > socket to connect to a PUB/RTR running on a linux machine. We tried a lot > of different ways (Java, .

[zeromq-dev] ZeroMQ on Windows

2013-06-24 Thread Nishant Mittal
We have a requirement to write a small windows client that uses a SUB/DLR socket to connect to a PUB/RTR running on a linux machine. We tried a lot of different ways (Java, .NET) but couldnt get the client to work on windows.. windows keeps complaining zmq.dl not found. Any ideas are welcome.. I a

Re: [zeromq-dev] Using PHP 5.4

2013-06-24 Thread James Marcus
I think I have found some stuff on PECL that my point me in the right direction. James On Mon, Jun 24, 2013 at 12:32 PM, James Marcus wrote: > Hi, > When running phpize > > build machine: > [jmarcus@ohitu001 SPECS]$ phpize -v > Configuring for: > PHP Api Version: 20100412 > Zend Module A

Re: [zeromq-dev] Using PHP 5.4

2013-06-24 Thread James Marcus
Hi, When running phpize build machine: [jmarcus@ohitu001 SPECS]$ phpize -v Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 target install machine: [root@ws300 x86_64]# phpize -v Configuring for: PHP Api Version: 20100

Re: [zeromq-dev] pyzmq poller performance

2013-06-24 Thread Brian Knox
Thanks Min - additionally if I'm incorrect in my assumption that the poll look in my example code should perform better, or if there's a better way to do what I'm doing just let me know. The example code polls only one socket (which isn't that useful, hah) but I wanted to keep the test case dirt s

Re: [zeromq-dev] pyzmq poller performance

2013-06-24 Thread Min RK
Thanks for the report, I will look into whether I have introduced a performance degradation in the last few iterations. -MinRK On Jun 24, 2013, at 11:27, Brian Knox wrote: > It's been awhile since I've used pyzmq, and I'm running into a performance > issue using Poller.poll(). > > With a si

Re: [zeromq-dev] Using PHP 5.4

2013-06-24 Thread Ian Barber
Watch out for phpize etc. being from the older version - that's an easy mistake to make. Maybe uninstall the previously installed version to clear out any associated components. On Mon, Jun 24, 2013 at 5:01 PM, James Marcus wrote: > Hi Ian, > Thanks for the quick reply. So Built PHP 5.4.16 and

Re: [zeromq-dev] Using PHP 5.4

2013-06-24 Thread James Marcus
Hi Ian, Thanks for the quick reply. So Built PHP 5.4.16 and then installed it on my build server and then created the ZeroMQ binaries. I'll give it another go incase I did something out of order. Thanks James On Mon, Jun 24, 2013 at 11:45 AM, Ian Barber wrote: > You'll need to build php-zmq wi

Re: [zeromq-dev] Using PHP 5.4

2013-06-24 Thread Ian Barber
You'll need to build php-zmq with the version you're running - looked like the ZMQ extension was built with an older version of PHP. Ian On Mon, Jun 24, 2013 at 4:36 PM, James Marcus wrote: > Hi, > I have compiled my own PHP version, 5.4.16 and ZeroMQ 3.2.2, and > rolled my own RPMs. When I st

[zeromq-dev] Using PHP 5.4

2013-06-24 Thread James Marcus
Hi, I have compiled my own PHP version, 5.4.16 and ZeroMQ 3.2.2, and rolled my own RPMs. When I start php-fpm I get the following message: Starting php-fpm: [24-Jun-2013 11:01:49] NOTICE: PHP message: PHP Warning: PHP Startup: zmq: Unable to initialize module Module compiled with module API=2009

[zeromq-dev] pyzmq poller performance

2013-06-24 Thread Brian Knox
It's been awhile since I've used pyzmq, and I'm running into a performance issue using Poller.poll(). With a simple blocking recv() in a while True loop, I get ~ 300k messages a second. With the simplest case of the same code using a poll on the socket, I get ~ 30k messages a second. (pyzeromq)t

Re: [zeromq-dev] ZMQ_FLAT_PULL feature discussion

2013-06-24 Thread Michael Haberler
Am 23.06.2013 um 18:48 schrieb Daniel Krikun : > I have started to implement this feature, and thought, what would be the > desired behavior in case of multi-part messages? Are multi-part messages to > be considered as one, or to be forbidden as altogether on a "conflate" socket > as a not-rea