Re: [zeromq-dev] striking difference in performance among ZeroMQ bindings.

2013-05-02 Thread crocket
Anyhow, jzmq is somewhat slower than JeroMQ when processing small messages. The slowness that accompnies 10K messages was partly due to using swap space on HDD. On Fri, May 3, 2013 at 1:38 PM, crocket wrote: > There is a DEALER that sends messages and receives identical messages in a > batch. >

Re: [zeromq-dev] striking difference in performance among ZeroMQ bindings.

2013-05-02 Thread crocket
I tested jzmq again, and it performs almost at the same level as JeroMQ. On Fri, May 3, 2013 at 1:38 PM, crocket wrote: > There is a DEALER that sends messages and receives identical messages in a > batch. > > There is the ROUTER that just sends back what it receives to the sender. > > I tested

[zeromq-dev] striking difference in performance among ZeroMQ bindings.

2013-05-02 Thread crocket
There is a DEALER that sends messages and receives identical messages in a batch. There is the ROUTER that just sends back what it receives to the sender. I tested JeroMQ, labview-zmq, jzmq, and PyZMQ. The test source code is at https://github.com/crocket/ZeroMQThroughputTest To summarize the t

Re: [zeromq-dev] DEALER detection of no ROUTER

2013-05-02 Thread Adam Covitch
If the dealer needs to determine whether the router is available one option is to have it send a request and poll for a response. No response within a timeout means the router is down. Any disadvantages to this approach? Thanks! Adam On Thu, May 2, 2013 at 9:36 AM, Pieter Hintjens wrote: > You

Re: [zeromq-dev] CZMQ v1.4.0 stable release

2013-05-02 Thread Pieter Hintjens
On Thu, May 2, 2013 at 7:10 PM, Evan Gates wrote: > Quick note, http://czmq.zeromq.org/page:get-the-software lists the release > date as 2012 instead of 2013. Thanks for spotting that... :-) fixed it. -Pieter ___ zeromq-dev mailing list zeromq-dev@lis

Re: [zeromq-dev] PUB/SUB pattern and get results back

2013-05-02 Thread Pieter Hintjens
On Thu, May 2, 2013 at 5:19 PM, f.visco...@gmail.com wrote: > It seems the best socket type to achieve my goal (at least to fan-out) is > the PUB socket type with all my workers subscribed to my publisher. At least to start with, yes. > - Is there an easy way to get back my results on my main s

Re: [zeromq-dev] CZMQ v1.4.0 stable release

2013-05-02 Thread Evan Gates
Quick note, http://czmq.zeromq.org/page:get-the-software lists the release date as 2012 instead of 2013. -Evan On Tue, Apr 30, 2013 at 1:31 AM, Pieter Hintjens wrote: > Hi all, > > We've made new stable tarballs for CZMQ (1.4.0) which you can get from > http://czmq.zeromq.org. > > The main cha

Re: [zeromq-dev] libzmq v3.2.3 released (stable)

2013-05-02 Thread Trevor Bernard
For the Ubuntu folks, I've added the latest zeromq-3.2.3 to my ppa located here: https://launchpad.net/~trevorbernard/+archive/zeromq I've uploaded packages for: Precise, Raring, Quantal, Oneiric, Natty, Maverick, and Lucid. I've verified that it works on Precise and Raring. Natty, Lucid, and Ma

Re: [zeromq-dev] libzmq v3.2.3 released (stable)

2013-05-02 Thread AJ Lewis
The newline issue in test_connect_delay.cpp showed up in commit b774772b - I'll add the newline and send the pull request in zeromq3-x - it's fine in libzmq master. The HPUX issue should be fixed by pulling libzmq commit 5f009e52 into zeromq3-x. On Thu, May 02, 2013 at 10:06:46AM -0500, AJ Lewi

[zeromq-dev] PUB/SUB pattern and get results back

2013-05-02 Thread f.visco...@gmail.com
Hi, I'm trying to use zeromq for a high performance service where I have a main server that needs to fan-out a computation request to a set of workers. All workers should receive the same computation request. I'd like the main server to get back computation results from all workers in order to m

Re: [zeromq-dev] libzmq v3.2.3 released (stable)

2013-05-02 Thread AJ Lewis
Having compilation problems in test_disconnect_inproc.cpp - will try to get a pull request spun up: 3.2.3 does not build on RHEL5 (GCC 4.1.2), SLES10 (GCC 4.1.2), and Solaris 10 (with GCC 3.4.3) due to: test_connect_delay.cpp:260:2: error: no newline at end of file It also does not build on HPUX

[zeromq-dev] Brubeck meets ZeroMQ NYC Event

2013-05-02 Thread Seth Murphy
Hello, We are really excited to announce that the next BrubeckNYC meetup will be a merger of the Brubeck community and the ZeroMQ Community! WHEN: Thursday May 9th, 6:30pm WHERE: Venmo, 159W 25th St, New York, NY RSVP HERE: http://nyc.brubeck.io/events/117338942/ Pieter Hintjens, one of the desi

Re: [zeromq-dev] a hot discussion on ZMQ vs YAMI; evaluation of middleware we did at CERN at the end of 2011

2013-05-02 Thread Pieter Hintjens
Hi Andrzej, Thanks for this PDF, it's really interesting. I'm curious to know your opinion of the work we're doing on the wire protocol (ZMTP), which is now in v3.0 in draft stage (rfc.zeromq.org/spec:23). The goal is to ensure that different implementations can talk together safely, over a long

Re: [zeromq-dev] Needed help on installing zeromq on my Windows 7

2013-05-02 Thread Eric Hill
On first glance, you're using the 64 bit Apache and PHP, but the DLL you downloaded is named with -win32, so is probably a 32 bit build. You'll have to locate a 64-bit build, or replace your Apache+PHP installation with the 32-bit version. On Thu, May 2, 2013 at 8:45 AM, Thirumalai murugan wrote

[zeromq-dev] Needed help on installing zeromq on my Windows 7

2013-05-02 Thread Thirumalai murugan
Hi there, I am looking for installing zeromq on my Windows 7 machine for using zeromq with PHP (I am using WAMP server (5.4.3), Apache Server 2.2.22). I followed the documentation on their site,(http://www.zeromq.org/bindings%3aphp) but I don't know what to do. I installed the zeromq from the f

Re: [zeromq-dev] DEALER detection of no ROUTER

2013-05-02 Thread Pieter Hintjens
You will need to send a message and wait for a reply. There's no other way to do this. In any case since connections happen in the background you would want some kind of event to arrive in your app telling you the connection had succeeded, and the natural with 0MQ would be a message. -Pieter On T

[zeromq-dev] DEALER detection of no ROUTER

2013-05-02 Thread Adam Covitch
I have a simple test app where a dealer connects to a router. If the router is not reachable, is there any way for the dealer to detect this? I know that I could use a hadnshaking or ping/pong approach, but I'm looking for a cleaner solution, one that is build into ZeroMQ. Thanks! Adam __

[zeromq-dev] libzmq v3.2.3 released (stable)

2013-05-02 Thread Pieter Hintjens
Hi all, I've pushed packages for stable release 3.2.3 of libzmq, see http://www.zeromq.org/intro:get-the-software. Issues addressed: * LIBZMQ-526 Assertion failure "Invalid argument (tcp_connecter.cpp:285)" * LIBZMQ-446 Setting the DSCP bits by default causes CAP_NET_ADMIN error * LIBZMQ-496 Cra

Re: [zeromq-dev] Release date for zeromq-3.2.3

2013-05-02 Thread Pieter Hintjens
Nice work all round :) I'll cut a release today. -Pieter On Wed, May 1, 2013 at 8:53 PM, Victor Perron wrote: > Hello, > > I can now confirm that the bug is fixed on my side. If pieter's test case > works as well, then we can say it's solved I guess. Thanks a lot, > > > On Wed, May 1, 2013 at 4